mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
Back
This commit is contained in:
parent
0bf0b6f5c3
commit
98fa0f4a1b
3 changed files with 5 additions and 5 deletions
|
@ -21,7 +21,7 @@
|
||||||
authorizedKeys = lib.splitString "\n"
|
authorizedKeys = lib.splitString "\n"
|
||||||
(builtins.readFile (pkgs.fetchurl {
|
(builtins.readFile (pkgs.fetchurl {
|
||||||
url = "https://github.com/JulienMalka.keys";
|
url = "https://github.com/JulienMalka.keys";
|
||||||
sha256 = "sha256-27lY1/ZmItXNEB03ULu10TUbGvqwbB1EiVrytZONtak=";
|
sha256 = "sha256-jx0/AAAeq5d6h1ytdUUnF/bMcn4h0UIKQCwzi3S5+YQ=";
|
||||||
}));
|
}));
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -54,11 +54,11 @@ in
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
users.users.droneserver = {
|
users.users.droneserver = {
|
||||||
isSystemUser = true;
|
isNormalUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
home = "/home/droneserver";
|
home = "/home/droneserver";
|
||||||
group = droneserver;
|
extraGroups = [ droneserver config.users.groups.keys.name ];
|
||||||
extraGroups = [ config.users.groups.keys.name ];
|
passwordFile = config.sops.secrets.user-julien-password.path;
|
||||||
};
|
};
|
||||||
users.groups.droneserver = { };
|
users.groups.droneserver = { };
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
openssh.authorizedKeys.keyFiles = [
|
openssh.authorizedKeys.keyFiles = [
|
||||||
(pkgs.fetchurl {
|
(pkgs.fetchurl {
|
||||||
url = "https://github.com/JulienMalka.keys";
|
url = "https://github.com/JulienMalka.keys";
|
||||||
sha256 = "sha256-27lY1/ZmItXNEB03ULu10TUbGvqwbB1EiVrytZONtak=";
|
sha256 = "sha256-jx0/AAAeq5d6h1ytdUUnF/bMcn4h0UIKQCwzi3S5+YQ=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue