implementing modules for system applications

This commit is contained in:
cnst
2024-08-18 13:49:05 +02:00
parent 38f68c3550
commit a4306380e3
101 changed files with 1105 additions and 452 deletions

View File

@@ -12,22 +12,22 @@
./etc
];
# Define homeImports for each profile, including sharedImports
# Define homeImports for each user, including sharedImports
homeImports = {
"cnst@cnix" =
sharedImports
++ [
./profiles/cnst
./users/cnst
];
"adam@adampad" =
sharedImports
++ [
./profiles/adam
./users/adam
];
"toothpick@toothpc" =
sharedImports
++ [
./profiles/toothpick
./users/toothpick
];
};

View File

@@ -7,6 +7,10 @@
syntaxHighlighting.enable = true;
shellAliases = {
usermodules = "nvim /home/adam/.nix-config/home/users/adam/modules.nix";
umod = "nvim /home/adam/.nix-config/home/users/adam/modules.nix";
systemmodules = "nvim /home/adam/.nix-config/hosts/adampad/modules.nix";
smod = "nvim /home/adam/.nix-config/hosts/adampad/modules.nix";
nixclean = "sudo nix run .#cleanup-boot";
nixdev = "nix develop ~/.nix-config -c $SHELL";
nixconfig = "cd /home/adam/.nix-config/";

View File

@@ -7,7 +7,10 @@
syntaxHighlighting.enable = true;
shellAliases = {
nixmodules = "nvim /home/cnst/.nix-config/home/profiles/cnst/modules.nix";
usermodules = "nvim /home/cnst/.nix-config/home/users/cnst/modules.nix";
umod = "nvim /home/cnst/.nix-config/home/users/cnst/modules.nix";
systemmodules = "nvim /home/cnst/.nix-config/hosts/cnix/modules.nix";
smod = "nvim /home/cnst/.nix-config/hosts/cnix/modules.nix";
nixclean = "sudo nix run .#cleanup-boot";
nixdev = "nix develop ~/.nix-config -c $SHELL";
nixconfig = "cd /home/cnst/.nix-config/";

View File

@@ -22,7 +22,6 @@
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/toothpick/.steam/root/compatibilitytools.d"; # proton and steam compat
XDG_SESSION_TYPE = "wayland";
NIXOS_OZONE_WL = "1";
MOZ_ENABLE_WAYLAND = "1";
MOZ_DISABLE_RDD_SANDBOX = "1";
WLR_DRM_NO_ATOMIC = "1";

View File

@@ -7,6 +7,10 @@
syntaxHighlighting.enable = true;
shellAliases = {
usermodules = "nvim /home/toothpick/.nix-config/home/users/toothpick/modules.nix";
umod = "nvim /home/toothpick/.nix-config/home/users/toothpick/modules.nix";
systemmodules = "nvim /home/toothpick/.nix-config/hosts/toothpc/modules.nix";
smod = "nvim /home/toothpick/.nix-config/hosts/toothpc/modules.nix";
nixclean = "sudo nix run .#cleanup-boot";
nixdev = "nix develop ~/.nix-config -c $SHELL";
nixconfig = "cd /home/toothpick/.nix-config/";