Update groups and podman unpriv
This commit is contained in:
parent
2c4e1c7a6a
commit
42179fd4a8
2 changed files with 8 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
boot.kernel.sysctl = {
|
||||
"fs.inotify.max_user_watches" = 10485760;
|
||||
"fs.inotify.max_user_instances" = 1024;
|
||||
"net.ipv4.ip_unprivileged_port_start" = 80;
|
||||
"net.ipv4.ip_unprivileged_port_start" = 25;
|
||||
};
|
||||
|
||||
virtualisation.podman = {
|
||||
|
|
|
@ -18,6 +18,12 @@ in {
|
|||
openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/keys.txt ];
|
||||
};
|
||||
|
||||
users.groups.albert = {
|
||||
gid = 1000;
|
||||
name = "albert";
|
||||
members = [ "albert" ];
|
||||
};
|
||||
|
||||
# Make this user trusted
|
||||
nix.settings.trusted-users = [ "albert" ];
|
||||
}
|
Loading…
Reference in a new issue