permissions

This commit is contained in:
John Lancaster
2024-12-08 13:56:00 -06:00
parent 6e891cc6da
commit b973c002e1
2 changed files with 3 additions and 3 deletions

View File

@@ -39,6 +39,7 @@
system.stateVersion = "${stateVersion}";
time.timeZone = "${timeZone}";
users.users.${user} = {
extraGroups = [ "wheel" ];
isNormalUser = true;
openssh.authorizedKeys.keyFiles = [ /root/.ssh/authorized_keys ];
};

View File

@@ -18,8 +18,6 @@ in
stateVersion = "24.05";
username = "${user}";
homeDirectory = "${homePath}";
};
packages = [
(pkgs.writeShellScriptBin "nfs" ''
sudo nixos-rebuild switch --flake git+file://${homePath}#${hostname}
@@ -29,6 +27,7 @@ in
'')
git
];
};
systemd.user.startServices = "sd-switch";
}