Skip to content

Commit

Permalink
chore(modules): update modules
Browse files Browse the repository at this point in the history
  • Loading branch information
raexera committed Nov 24, 2024
1 parent 7934a0f commit 75d97bc
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 43 deletions.
2 changes: 1 addition & 1 deletion home/raexera/shell/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
zstyle ':completion:*' group-name '''
zstyle ':completion:*' keep-prefix true
zstyle ':completion:*' list-colors ''${(s.:.)LS_COLORS}
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
zstyle ':completion:*' menu select
zstyle ':completion:*' verbose true
Expand Down
3 changes: 1 addition & 2 deletions hosts/minimal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
./disk-configuration.nix
./hardware-configuration.nix

../modules/programs/bash.nix
../modules/programs/neovim.nix
../modules/programs/nh.nix
../modules/programs/zsh.nix
../modules/shell/zsh.nix
../modules/services/networking.nix
../modules/services/openssh.nix
];
Expand Down
1 change: 1 addition & 0 deletions hosts/modules/config/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
imports = [
./fonts
./nix

./console.nix
Expand Down
3 changes: 1 addition & 2 deletions hosts/modules/config/users.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{pkgs, ...}: {
{
users.users.raexera = {
isNormalUser = true;
shell = pkgs.zsh;
uid = 1000;
extraGroups = [
"wheel"
Expand Down
9 changes: 0 additions & 9 deletions hosts/modules/programs/bash.nix

This file was deleted.

7 changes: 0 additions & 7 deletions hosts/modules/programs/hyprland.nix

This file was deleted.

17 changes: 0 additions & 17 deletions hosts/modules/programs/zsh.nix

This file was deleted.

15 changes: 15 additions & 0 deletions hosts/modules/shell/zsh.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{pkgs, ...}: {
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
};

environment = {
shells = pkgs.zsh;
pathsToLink = ["/share/zsh"];
};

users.defaultUserShell = pkgs.zsh;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{pkgs, ...}: {
programs.hyprland = {
enable = true;
};

environment.variables.NIXOS_OZONE_WL = "1";

xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
Expand Down
9 changes: 4 additions & 5 deletions hosts/yuki/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,14 @@
./hardware-configuration.nix
./power-management.nix

../modules/config/fonts
../modules/config/xdg/portal.nix
../modules/hardware/gpu/intel.nix
../modules/hardware/gpu/nvidia.nix
../modules/programs/bash.nix
../modules/programs/dconf.nix
../modules/programs/gnupg.nix
../modules/programs/hyprland.nix
../modules/programs/neovim.nix
../modules/programs/nh.nix
../modules/programs/thunar.nix
../modules/programs/zsh.nix
../modules/shell/zsh.nix
../modules/services/blueman.nix
../modules/services/dbus.nix
../modules/services/gnome-keyring.nix
Expand All @@ -30,6 +26,7 @@
../modules/virtualisation/containers.nix
../modules/virtualisation/docker.nix
../modules/virtualisation/podman.nix
../modules/window-managers/hyprland.nix
];

boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
Expand Down Expand Up @@ -79,6 +76,8 @@
nvidiaBusId = "PCI:1:0:0";
};
};

nvidia-container-toolkit.enable = true;
};

services = {
Expand Down

0 comments on commit 75d97bc

Please sign in to comment.