more refactor

This commit is contained in:
Rachel Lambda Samuelsson 2024-06-24 22:35:21 +02:00
parent ac03747210
commit 24adf1ad54
28 changed files with 13 additions and 13 deletions

View File

@ -42,7 +42,7 @@
sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ]; sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ];
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
users.rachel = import ./home/all.nix { users.rachel = import ./home-manager/all.nix {
pkgs = import nixpkgs { pkgs = import nixpkgs {
system = system; system = system;
config.allowUnfree = true; config.allowUnfree = true;
@ -74,9 +74,9 @@
nixosConfigurations.lambda = nixpkgs.lib.nixosSystem rec { nixosConfigurations.lambda = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux"; system = "x86_64-linux";
modules = base-modules ++ [ modules = base-modules ++ [
./lambda/configuration.nix ./nixos/lambda/configuration.nix
./shared/user-system.nix ./nixos/shared/user-system.nix
./shared/graphical.nix ./nixos/shared/graphical.nix
(rachel-home-module system) (rachel-home-module system)
]; ];
}; };
@ -84,14 +84,15 @@
nixosConfigurations.computational = nixpkgs.lib.nixosSystem rec { nixosConfigurations.computational = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux"; system = "x86_64-linux";
modules = base-modules ++ [ modules = base-modules ++ [
./computational/configuration.nix ./nixos/computational/configuration.nix
./shared/user-system.nix ./nixos/shared/user-system.nix
./shared/graphical.nix ./nixos/shared/graphical.nix
(rachel-home-module system) (rachel-home-module system)
]; ];
}; };
keyboardLayouts.fox = ./shared/fox.xkb; keyboardLayouts.fox = ./resources/fox.xkb;
keyboardLayouts.sus = ./resources/fox.xkb;
} // flake-utils.lib.eachDefaultSystem (system: } // flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system}; let pkgs = nixpkgs.legacyPackages.${system};

View File

@ -36,7 +36,7 @@
device = "nodev"; device = "nodev";
efiSupport = true; efiSupport = true;
enableCryptodisk = true; enableCryptodisk = true;
theme = ../shared/sayonara; theme = ../../resources/grub-theme;
}; };
boot.loader.efi.efiSysMountPoint = "/boot/efi"; boot.loader.efi.efiSysMountPoint = "/boot/efi";

View File

@ -39,7 +39,7 @@
}; };
fileSystems."/mnt/eta" = fileSystems."/mnt/eta" =
let secrets = import ../secrets/eta.nix; let secrets = import ../../secrets/eta.nix;
in { in {
device = "//192.168.30.33/users"; device = "//192.168.30.33/users";
fsType = "cifs"; fsType = "cifs";
@ -53,12 +53,12 @@
extraLayouts.sus = { extraLayouts.sus = {
description = "Swedish US"; description = "Swedish US";
languages = [ "se" ]; languages = [ "se" ];
symbolsFile = ../shared/sus.xkb; symbolsFile = ../../resources/sus.xkb;
}; };
extraLayouts.fox = { extraLayouts.fox = {
description = "Layout suitable to be used by a fox"; description = "Layout suitable to be used by a fox";
languages = [ "se" ]; languages = [ "se" ];
symbolsFile = ../shared/fox.xkb; symbolsFile = ../../resources/fox.xkb;
}; };
}; };
}; };

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

1
shared/.gitignore vendored
View File

@ -1 +0,0 @@
secrets.nix