restructuring for new nix-home flake
This commit is contained in:
@@ -9,28 +9,16 @@
|
||||
users.users.${userSettings.userName} = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "docker" ];
|
||||
openssh.authorizedKeys.keyFiles = [ ../secrets/authorized_keys ];
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
users.${userSettings.userName} = { ... }: {
|
||||
users.${userSettings.userName} = {
|
||||
home.stateVersion = systemSettings.stateVersion;
|
||||
home.homeDirectory = lib.mkForce "${userSettings.adHome}";
|
||||
systemd.user.startServices = "sd-switch"; # helps with handling systemd services when switching
|
||||
imports = [
|
||||
(import ./zsh.nix)
|
||||
(import ./git.nix {inherit userSettings;})
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
# Add any additional packages you want to install in your home directory
|
||||
superfile
|
||||
];
|
||||
programs = {
|
||||
ssh.enable = true;
|
||||
gh.enable = true;
|
||||
};
|
||||
programs.ssh.enable = true;
|
||||
programs.gh.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user