moved option to home manager
This commit is contained in:
@@ -10,13 +10,14 @@
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "docker" ];
|
extraGroups = [ "wheel" "docker" ];
|
||||||
openssh.authorizedKeys.keyFiles = [ ../secrets/authorized_keys ];
|
openssh.authorizedKeys.keyFiles = [ ../secrets/authorized_keys ];
|
||||||
home = "${userSettings.adHome}";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
users.${userSettings.userName} = { ... }: {
|
users.${userSettings.userName} = { ... }: {
|
||||||
home.stateVersion = systemSettings.stateVersion;
|
home.stateVersion = systemSettings.stateVersion;
|
||||||
|
home.homeDirectory = "${userSettings.adHome}";
|
||||||
systemd.user.startServices = "sd-switch"; # helps with handling systemd services when switching
|
systemd.user.startServices = "sd-switch"; # helps with handling systemd services when switching
|
||||||
imports = [ (import ./git.nix {inherit userSettings;}) ];
|
imports = [ (import ./git.nix {inherit userSettings;}) ];
|
||||||
programs = {
|
programs = {
|
||||||
|
|||||||
Reference in New Issue
Block a user