move hostname to base

This commit is contained in:
Tyler Starr 2025-06-15 17:22:59 -07:00
parent 13ea2cc3d3
commit 3b8d09ef2d
7 changed files with 4 additions and 7 deletions

View File

@ -5,7 +5,6 @@
];
# Set networking options
networking.hostName = "${hostname}";
networking.firewall.checkReversePath = "loose";
networking.firewall.enable = false;

View File

@ -4,7 +4,6 @@
powerManagement.cpuFreqGovernor = "performance";
# Set networking options
networking.hostName = "${hostname}";
networking.firewall.checkReversePath = "loose";
networking.firewall.enable = false;

View File

@ -9,7 +9,6 @@
powerManagement.cpuFreqGovernor = "performance";
# Set networking options
networking.hostName = "${hostname}";
networking.firewall.checkReversePath = "loose";
networking.firewall.enable = false;

View File

@ -4,7 +4,6 @@
powerManagement.cpuFreqGovernor = "performance";
# Set networking options
networking.hostName = "${hostname}";
networking.firewall.checkReversePath = "loose";
networking.firewall.enable = false;

View File

@ -17,7 +17,6 @@
boot.kernelModules = [ "sg" ];
# Set networking options
networking.hostName = "${hostname}";
networking.firewall.enable = true;
networking.firewall.checkReversePath = "loose";
networking.firewall.allowedTCPPorts = [ 80 443 ];

View File

@ -15,7 +15,6 @@ in
};
# Set networking options
networking.hostName = "${hostname}";
networking.firewall.checkReversePath = "loose";
networking.firewall.enable = false;

View File

@ -1,4 +1,4 @@
{ config, lib, inputs, pkgs, user, home-manager, ... }:
{ config, lib, inputs, pkgs, user, home-manager, hostname, ... }:
{
imports = [
./terminal.nix
@ -18,6 +18,9 @@
};
};
# Set networking options
networking.hostName = "${hostname}";
# Add user age key to identity path
age.identityPaths = [
"/home/${user}/.ssh/keys/age"