totoro: set up podman socket support
This commit is contained in:
parent
3e7541c14f
commit
506a584dea
1 changed files with 11 additions and 1 deletions
|
@ -34,7 +34,9 @@ in {
|
|||
"/srv/pancake" = zfs "tank/safe/srv/pancake";
|
||||
|
||||
"/persist" = zfs "tank/safe/persist";
|
||||
"/persist/var/lib/containers" = zfs "tank/safe/persist/containers";
|
||||
"/store" = zfs "tank/local/store";
|
||||
"/store/run/containers" = zfs "tank/local/store/containers";
|
||||
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/D178-4E19";
|
||||
|
@ -55,7 +57,15 @@ in {
|
|||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
virtualisation = {
|
||||
podman.enable = true;
|
||||
containers.storage.settings.storage = {
|
||||
driver = "zfs";
|
||||
runroot = "/store/run/containers/storage";
|
||||
graphroot = "/persist/var/lib/containers/storage";
|
||||
};
|
||||
};
|
||||
systemd.services.podman.path = lib.mkAfter [
|
||||
pkgs.zfs
|
||||
];
|
||||
|
||||
services.openssh.forwardX11 = true;
|
||||
|
||||
|
@ -103,7 +113,7 @@ in {
|
|||
};
|
||||
users.users.lukegb = {
|
||||
packages = with depot.pkgs; [ irssi ];
|
||||
extraGroups = lib.mkAfter [ "libvirtd" "acme" ];
|
||||
extraGroups = lib.mkAfter [ "libvirtd" "acme" "podman" ];
|
||||
};
|
||||
users.users.pancake = {
|
||||
isSystemUser = true;
|
||||
|
|
Loading…
Reference in a new issue