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

View File

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

View File

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

View File

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