podman in workstation

This commit is contained in:
2024-03-29 17:24:12 -06:00
parent ffd09b636a
commit 3a99fc2b03
2 changed files with 61 additions and 10 deletions

View File

@@ -69,6 +69,7 @@ passwords and other secrets.
imports = [
# <agenix/modules/age.nix>
./fstab.nix
./docker.nix
(import "${home-manager}/nixos")
# nixGaming.nixosModules.pipewireLowLatency
];
@@ -919,7 +920,7 @@ environment = {
};
systemPackages = with pkgs; [
# virt-manager
docker-compose
# docker-compose
wget
gwe
];
@@ -1170,15 +1171,15 @@ On this section, you can also add virtual machines settings.
programs.dconf.enable = true; # virt-manager requires dconf to remember settings
virtualisation = {
libvirtd.enable = false;
docker = {
enable = true;
enableNvidia = true;
autoPrune = {
enable = true;
flags = [ "--all" ];
dates = "weekly";
};
};
# docker = {
# enable = true;
# enableNvidia = true;
# autoPrune = {
# enable = true;
# flags = [ "--all" ];
# dates = "weekly";
# };
# };
};
#+end_src