mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-02 18:20:52 +02:00
Few improvments
This commit is contained in:
parent
bfe9c8d31d
commit
ac63e3a790
2 changed files with 3 additions and 6 deletions
|
@ -10,7 +10,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
networking.hostName = "macintosh"; # Define your hostname.
|
networking.hostName = "macintosh";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -18,18 +18,15 @@ in
|
||||||
|
|
||||||
programs.gnupg.agent.enable = true;
|
programs.gnupg.agent.enable = true;
|
||||||
|
|
||||||
networking.hostName = hostName; # Define your hostname.
|
networking.hostName = hostName;
|
||||||
networking.hostId = "f7cdfbc9";
|
networking.hostId = "f7cdfbc9";
|
||||||
networking.interfaces.enp2s0f0.useDHCP = true;
|
networking.interfaces.enp2s0f0.useDHCP = true;
|
||||||
networking.interfaces.enp2s0f1.useDHCP = true;
|
networking.interfaces.enp2s0f1.useDHCP = true;
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
||||||
networking.firewall.allowedUDPPorts = [ 80 443 ];
|
|
||||||
|
|
||||||
|
|
||||||
services.zfs.autoSnapshot.enable = true;
|
services.zfs.autoSnapshot.enable = true;
|
||||||
services.zfs.autoScrub.enable = true;
|
services.zfs.autoScrub.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "21.05"; # Did you read the comment?
|
system.stateVersion = "21.05";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue