This commit is contained in:
Julien Malka 2021-12-27 17:49:42 +01:00
parent 0bf0b6f5c3
commit 98fa0f4a1b
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F
3 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@
authorizedKeys = lib.splitString "\n"
(builtins.readFile (pkgs.fetchurl {
url = "https://github.com/JulienMalka.keys";
sha256 = "sha256-27lY1/ZmItXNEB03ULu10TUbGvqwbB1EiVrytZONtak=";
sha256 = "sha256-jx0/AAAeq5d6h1ytdUUnF/bMcn4h0UIKQCwzi3S5+YQ=";
}));
};

View file

@ -54,11 +54,11 @@ in
}];
};
users.users.droneserver = {
isSystemUser = true;
isNormalUser = true;
createHome = true;
home = "/home/droneserver";
group = droneserver;
extraGroups = [ config.users.groups.keys.name ];
extraGroups = [ droneserver config.users.groups.keys.name ];
passwordFile = config.sops.secrets.user-julien-password.path;
};
users.groups.droneserver = { };

View file

@ -13,7 +13,7 @@
openssh.authorizedKeys.keyFiles = [
(pkgs.fetchurl {
url = "https://github.com/JulienMalka.keys";
sha256 = "sha256-27lY1/ZmItXNEB03ULu10TUbGvqwbB1EiVrytZONtak=";
sha256 = "sha256-jx0/AAAeq5d6h1ytdUUnF/bMcn4h0UIKQCwzi3S5+YQ=";
})
];
};