Compare commits
2 commits
e29f3fe644
...
67ac3864fd
Author | SHA1 | Date | |
---|---|---|---|
|
67ac3864fd | ||
|
2e0e4709fc |
1 changed files with 12 additions and 7 deletions
|
@ -14,7 +14,12 @@
|
||||||
time.timeZone = "Europe/Paris";
|
time.timeZone = "Europe/Paris";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
podman-compose
|
||||||
helix
|
helix
|
||||||
|
unzip
|
||||||
|
htop
|
||||||
|
ncdu
|
||||||
|
wget
|
||||||
git
|
git
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -29,14 +34,14 @@
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos"
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
# Podman
|
||||||
interfaces."wlan0".useDHCP = true;
|
virtualisation = {
|
||||||
wireless = {
|
containers.enable = true;
|
||||||
interfaces = ["wlan0"];
|
oci-containers.backend = "podman";
|
||||||
|
podman = {
|
||||||
enable = true;
|
enable = true;
|
||||||
networks = {
|
# Required for containers under podman-compose to be able to talk to each other.
|
||||||
"TestNetwork".psk = "not_an_actual_password_leak";
|
defaultNetwork.settings.dns_enabled = true;
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue