switch over hopper fully (+ minor refactoring)

This commit is contained in:
xunuwu 2024-11-21 10:03:31 +01:00
parent c38c6b9b29
commit 6ab8a4e38d
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
97 changed files with 71 additions and 25 deletions

View file

@ -0,0 +1,24 @@
{
self,
super,
root,
}: {lib, ...}: {
nix.settings.trusted-users = ["deploy"]; # trust closures created by our user
users.groups.deploy = {};
users.users.deploy = {
isSystemUser = true;
useDefaultShell = true;
group = "deploy";
extraGroups = ["wheel"];
hashedPassword = lib.mkForce null;
hashedPasswordFile = lib.mkForce null;
password = lib.mkForce null;
passwordFile = lib.mkForce null;
openssh.authorizedKeys.keys = with root.sshKeys; [
xun_nixdesk
];
};
}