Finally switch to flakes.
This commit is contained in:
parent
a90e09db74
commit
5e0b713756
116 changed files with 5443 additions and 3 deletions
12
nixos/desktop/firewall.nix
Normal file
12
nixos/desktop/firewall.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
# Networking settings
|
||||
networking = {
|
||||
# Enable firewall
|
||||
firewall = {
|
||||
allowPing = false;
|
||||
extraInputRules = ''
|
||||
ip saddr 10.0.0.2 accept comment "Accept Server Connections"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue