explicitly enable firewall and network manager in default host configs

This commit is contained in:
tdback 2024-11-21 19:45:33 -05:00
parent 41af04163b
commit 164c430909
8 changed files with 27 additions and 31 deletions

View file

@ -28,19 +28,6 @@
}; };
}; };
system.autoUpgrade = {
enable = true;
flake = inputs.self.outPath;
flags = [
"--update-input"
"nixpkgs"
"-L"
];
dates = "Sat *-*-* 06:00:00";
randomizedDelaySec = "45min";
allowReboot = true;
};
security = { security = {
sudo.enable = lib.mkDefault false; sudo.enable = lib.mkDefault false;
doas = { doas = {
@ -55,8 +42,26 @@
polkit.enable = true; polkit.enable = true;
}; };
networking = {
firewall.enable = true;
networkmanager.enable = true;
};
time.timeZone = "America/Detroit"; time.timeZone = "America/Detroit";
system.autoUpgrade = {
enable = true;
flake = inputs.self.outPath;
flags = [
"--update-input"
"nixpkgs"
"-L"
];
dates = "Sat *-*-* 06:00:00";
randomizedDelaySec = "45min";
allowReboot = true;
};
programs = { programs = {
git.enable = true; git.enable = true;
htop.enable = true; htop.enable = true;

View file

@ -15,7 +15,6 @@
networking = { networking = {
hostId = "bd03847d"; # Required for ZFS support. hostId = "bd03847d"; # Required for ZFS support.
hostName = "eden"; hostName = "eden";
networkmanager.enable = true;
}; };
motd = { motd = {

View file

@ -9,10 +9,7 @@
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
networking = { networking.hostName = "hive";
hostName = "hive";
networkmanager.enable = true;
};
motd = { motd = {
networkInterfaces = lib.lists.singleton "eno1"; networkInterfaces = lib.lists.singleton "eno1";

View file

@ -15,7 +15,6 @@
networking = { networking = {
hostId = "7a7d723a"; # Required for ZFS support. hostId = "7a7d723a"; # Required for ZFS support.
hostName = "oasis"; hostName = "oasis";
networkmanager.enable = true;
}; };
motd = { motd = {

View file

@ -9,10 +9,7 @@
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
networking = { networking.hostName = "raindog";
hostName = "raindog";
networkmanager.enable = true;
};
motd = { motd = {
networkInterfaces = lib.lists.singleton "eno1"; networkInterfaces = lib.lists.singleton "eno1";

View file

@ -42,6 +42,11 @@
polkit.enable = true; polkit.enable = true;
}; };
networking = {
firewall.enable = true;
networkmanager.enable = true;
};
time.timeZone = "America/Detroit"; time.timeZone = "America/Detroit";
hardware.graphics.enable32Bit = true; hardware.graphics.enable32Bit = true;

View file

@ -9,10 +9,7 @@
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
networking = { networking.hostName = "sparrow";
hostName = "sparrow";
networkmanager.enable = true;
};
services = { services = {
xserver.xkb.options = "ctrl:swapcaps"; xserver.xkb.options = "ctrl:swapcaps";

View file

@ -9,10 +9,7 @@
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
networking = { networking.hostName = "woodpecker";
hostName = "woodpecker";
networkmanager.enable = true;
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
mesa mesa