reorganization

This commit is contained in:
Patrick Neff 2024-04-08 19:14:16 +02:00
parent 68b3035533
commit c0eca37f9d
8 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
outputs,
vars,
flakeLib,
modules ? [],
imports ? [],
...
}: {
useGlobalPkgs = true;
@ -13,6 +13,6 @@
inherit (inputs) nix-colors;
};
users.${vars.username} = {
imports = modules;
inherit imports;
};
}

View File

@ -20,7 +20,7 @@
};
};
modules = [
../hosts/${hostName}/configuration.nix
../profiles/nixos/${hostName}/configuration.nix
];
};
}

View File

@ -15,7 +15,7 @@
home-manager = flakeLib.mkHomeNixosModule {
inherit inputs outputs vars flakeLib;
modules = [
imports = [
../../modules/home-manager/base.nix
../../modules/home-manager/desktop.nix
../../modules/home-manager/dev.nix