This commit is contained in:
cy 2024-12-17 00:55:28 -05:00
parent 86ae498aa4
commit dff837606b
2 changed files with 49 additions and 2 deletions

View file

@ -21,6 +21,7 @@
./wireguard.nix
./grafana.nix
./tor.nix
./ghost.nix
];
sops.age.keyFile = "/root/.config/sops/age/keys.txt";
@ -126,7 +127,7 @@
users.users.yt = {
isNormalUser = true;
extraGroups = ["wheel" "networkmanager" "docker"];
extraGroups = ["wheel" "networkmanager" "podman"];
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPdhAQYy0+vS+QmyCd0MAbqbgzyMGcsuuFyf6kg2yKge yt@ytlinux"];
shell = pkgs.zsh;
};
@ -170,5 +171,14 @@
logFormat = lib.mkForce "level INFO";
};
virtualisation.docker.enable = true;
# container stuff
virtualisation.container.enable = true;
vrtualisation.podman = {
enable = true;
# create 'docker' alias for podman, to use as
# drop-in replacement
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
virtualisation.oci-containers.backend = "podman";
}