Update groups and podman unpriv

This commit is contained in:
albert 2024-01-13 11:15:04 +09:00
parent 2c4e1c7a6a
commit 42179fd4a8
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 8 additions and 2 deletions

View file

@ -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 = {

View file

@ -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" ];
}