mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
Lot of changes, playing with ssh keys
This commit is contained in:
parent
920ac9efc4
commit
6096bc5515
13 changed files with 168 additions and 17 deletions
|
@ -1,20 +1,19 @@
|
|||
{ config, pkgs, lib, ... }: {
|
||||
|
||||
|
||||
users.mutableUsers = false;
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
sops.secrets.user-root-password.neededForUsers = true;
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
||||
users.users.root = {
|
||||
uid = config.ids.uids.root;
|
||||
description = "System administrator";
|
||||
home = "/root";
|
||||
shell = lib.mkForce config.users.defaultUserShell;
|
||||
group = "root";
|
||||
passwordFile = config.sops.secrets.user-root-password.path;
|
||||
};
|
||||
users.users.root = {
|
||||
uid = config.ids.uids.root;
|
||||
description = "System administrator";
|
||||
home = "/root";
|
||||
shell = lib.mkForce config.users.defaultUserShell;
|
||||
group = "root";
|
||||
passwordFile = config.sops.secrets.user-root-password.path;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue