mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-06-16 16:36:08 -07:00
move hostname to base
This commit is contained in:
parent
13ea2cc3d3
commit
3b8d09ef2d
@ -5,7 +5,6 @@
|
||||
];
|
||||
|
||||
# Set networking options
|
||||
networking.hostName = "${hostname}";
|
||||
networking.firewall.checkReversePath = "loose";
|
||||
networking.firewall.enable = false;
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
powerManagement.cpuFreqGovernor = "performance";
|
||||
|
||||
# Set networking options
|
||||
networking.hostName = "${hostname}";
|
||||
networking.firewall.checkReversePath = "loose";
|
||||
networking.firewall.enable = false;
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
powerManagement.cpuFreqGovernor = "performance";
|
||||
|
||||
# Set networking options
|
||||
networking.hostName = "${hostname}";
|
||||
networking.firewall.checkReversePath = "loose";
|
||||
networking.firewall.enable = false;
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
powerManagement.cpuFreqGovernor = "performance";
|
||||
|
||||
# Set networking options
|
||||
networking.hostName = "${hostname}";
|
||||
networking.firewall.checkReversePath = "loose";
|
||||
networking.firewall.enable = false;
|
||||
|
||||
|
@ -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 ];
|
||||
|
@ -15,7 +15,6 @@ in
|
||||
};
|
||||
|
||||
# Set networking options
|
||||
networking.hostName = "${hostname}";
|
||||
networking.firewall.checkReversePath = "loose";
|
||||
networking.firewall.enable = false;
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user