more refactor
This commit is contained in:
parent
ac03747210
commit
24adf1ad54
17
flake.nix
17
flake.nix
|
@ -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};
|
||||||
|
|
|
@ -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";
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
1
shared/.gitignore
vendored
1
shared/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
secrets.nix
|
|
Loading…
Reference in New Issue
Block a user