chore: podman for binex

This commit is contained in:
Patrick Großmann 2023-12-13 17:29:10 +01:00
parent 640cfafe3f
commit 948ce34e70
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
3 changed files with 17 additions and 0 deletions

View file

@ -42,6 +42,10 @@
layout = "de";
xkbVariant = "bone";
};
virtualisation.podman = {
enable = false;
dockerCompat = true;
};
system.activationScripts.decryptKey.text = ''
ln -f -s ${../../keys/PatC.key} /run/decrypt.key.pub

View file

@ -17,6 +17,7 @@
msr = uidGid 208;
avahi = uidGid 209;
fwupd-refresh = uidGid 210;
podman = uidGid 211;
systemd-oom = uidGid 300;
systemd-coredump = uidGid 301;
};

View file

@ -23,6 +23,18 @@ lib.optionalAttrs (!minimal) {
group = "patrick";
hashedPassword = config.secrets.secrets.global.users.patrick.passwordHash;
autoSubUidGidRange = false;
subUidRanges = [
{
count = 65534;
startUid = 100001;
}
];
subGidRanges = [
{
count = 65534;
startGid = 100001;
}
];
};
users.groups.patrick.gid = config.users.users.patrick.uid;