+15
configuration.nix
+15
configuration.nix
···
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
···
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
}