feat: refactored host config into folders

main
Ricard Illa 2023-08-02 13:13:19 +02:00
parent cecff8d0aa
commit 91fb654395
Signed by: rilla
GPG Key ID: 525307BD467E4205
4 changed files with 13 additions and 13 deletions

View File

@ -29,7 +29,7 @@
}; };
modules = [ modules = [
./hosts/trantor.nix ./hosts/trantor
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
]; ];
@ -44,7 +44,7 @@
}; };
modules = [ modules = [
./hosts/capibara.nix ./hosts/capibara
nixos-hardware.nixosModules.lenovo-thinkpad-x230 nixos-hardware.nixosModules.lenovo-thinkpad-x230
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
@ -55,7 +55,7 @@
system = "aarch64-linux"; system = "aarch64-linux";
specialArgs = { impermanence = impermanence; }; specialArgs = { impermanence = impermanence; };
modules = [ modules = [
./hosts/lb.nix ./hosts/lb
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
]; ];
}; };

View File

@ -25,14 +25,14 @@ let
in in
{ {
imports = [ imports = [
../hardware-configuration/capibara.nix ../../hardware-configuration/capibara.nix
../common ../../common
../common/desktop.nix ../../common/desktop.nix
]; ];
home-manager = { home-manager = {
users.rilla.imports = [ users.rilla.imports = [
../home/capibara.nix ../../home/capibara.nix
"${impermanence}/home-manager.nix" "${impermanence}/home-manager.nix"
]; ];
}; };

View File

@ -2,8 +2,8 @@
{ {
imports = [ imports = [
./hardware-configuration/lb.nix ../../hardware-configuration/lb.nix
../common ../../common
]; ];
boot.loader = { boot.loader = {

View File

@ -7,14 +7,14 @@
let home = "/home/rilla"; let home = "/home/rilla";
in { in {
imports = [ imports = [
../hardware-configuration/trantor.nix ../../hardware-configuration/trantor.nix
../common ../../common
../common/desktop.nix ../../common/desktop.nix
]; ];
home-manager = { home-manager = {
users.rilla.imports = [ users.rilla.imports = [
../home/trantor.nix ../../home/trantor.nix
"${impermanence}/home-manager.nix" "${impermanence}/home-manager.nix"
]; ];
extraSpecialArgs.stablePkgs = stablePkgs; extraSpecialArgs.stablePkgs = stablePkgs;