1

set hostname in shared config

This commit is contained in:
2022-08-08 19:29:35 +02:00
parent 25225658bd
commit 35141735b5
4 changed files with 7 additions and 9 deletions

View File

@ -9,7 +9,8 @@ in rec {
inherit system;
# Make our inputs available to the configuration.nix (for importing modules)
specialArgs = { inherit inputs; };
# specialArgs are propagated to all modules
specialArgs = { inherit inputs hostname; };
modules = builtins.concatLists [
[
@ -39,7 +40,6 @@ in rec {
home-manager.useUserPackages = true;
# User specific config file
# Is marked as error but correct
home-manager.users.${username}.imports = [ ../home/${username} ];
}
]