this repo has no description
at add-podman 1.1 kB view raw
1{ 2 modulesPath, 3 lib, 4 pkgs, 5 ... 6} @ args: 7{ 8 imports = [ 9 (modulesPath + "/installer/scan/not-detected.nix") 10 (modulesPath + "/profiles/qemu-guest.nix") 11 ./disk-config.nix 12 ]; 13 boot.loader.grub = { 14 # no need to set devices, disko will add all devices that have a EF02 partition to the list already 15 # devices = [ ]; 16 efiSupport = true; 17 efiInstallAsRemovable = true; 18 }; 19 services.openssh.enable = true; 20 21 virtualisation = { 22 containers.enable = true; 23 podman = { 24 enable = true; 25 dockerCompat = true; 26 defaultNetwork.settings.dns_enabled = true; # Required for containers under podman-compose to be able to talk to each other. 27 }; 28 }; 29 30 environment.systemPackages = map lib.lowPrio [ 31 pkgs.curl 32 pkgs.gitMinimal 33 pkgs.wget 34 ]; 35 36 users.users.root.openssh.authorizedKeys.keys = 37 [ 38 "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFuC5sHe8hegmrgEKntLTArMn/O6m8IOKHxtgAsHHcF1 mar.kimmina@gmail.com" 39 ]; 40 41 users.users.root = { 42 extraGroups = [ 43 "podman" 44 ]; 45 }; 46 47 system.stateVersion = "24.05"; 48}