updated home/desktop
This commit is contained in:
parent
29040fdbb8
commit
a8c4c650bf
3 changed files with 6 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, outputs, config, pkgs, flakePath, disksPath, primaryUser, ... }:
|
||||
{ inputs, outputs, config, pkgs, flakePath, disksPath, primaryUser, homeDir, ... }:
|
||||
|
||||
let
|
||||
hostname = "${config.networking.hostName}";
|
||||
|
|
@ -13,7 +13,7 @@ in
|
|||
#../../home # home-manager configuration
|
||||
|
||||
## Users
|
||||
#./u-serenity.nix
|
||||
#./u-username.nix
|
||||
|
||||
## User themes -
|
||||
## to set a different theme for a user,
|
||||
|
|
@ -51,9 +51,9 @@ in
|
|||
verbose = true; # enables verbose output on activation
|
||||
extraSpecialArgs = { # passes in specialArgs from flake.nix
|
||||
inherit inputs outputs;
|
||||
inherit primaryUser;
|
||||
inherit hostname;
|
||||
inherit flakePath disksPath;
|
||||
inherit primaryUser homeDir;
|
||||
inherit hostname;
|
||||
};
|
||||
users = {
|
||||
${primaryUser} = {
|
||||
|
|
@ -69,7 +69,7 @@ in
|
|||
];
|
||||
home = {
|
||||
username = "${primaryUser}";
|
||||
homeDirectory = "/home/${primaryUser}";
|
||||
homeDirectory = "${homeDir}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue