Compare commits
No commits in common. "67ac3864fd77544b1fd7325b96a914c5c8d4858a" and "e29f3fe6441b21765966a4ea91cf18aeef591fe0" have entirely different histories.
67ac3864fd
...
e29f3fe644
1 changed files with 7 additions and 12 deletions
|
@ -14,12 +14,7 @@
|
||||||
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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -34,14 +29,14 @@
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Podman
|
networking = {
|
||||||
virtualisation = {
|
interfaces."wlan0".useDHCP = true;
|
||||||
containers.enable = true;
|
wireless = {
|
||||||
oci-containers.backend = "podman";
|
interfaces = ["wlan0"];
|
||||||
podman = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
# Required for containers under podman-compose to be able to talk to each other.
|
networks = {
|
||||||
defaultNetwork.settings.dns_enabled = true;
|
"TestNetwork".psk = "not_an_actual_password_leak";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue