From d3a51a7a8e7beea94dd92bdc6ca7a17e6301d93f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 27 Oct 2024 10:46:20 -0700 Subject: move firewall configuration to the network module --- nix/hosts/wildcat/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'nix/hosts/wildcat/default.nix') diff --git a/nix/hosts/wildcat/default.nix b/nix/hosts/wildcat/default.nix index fcaad82..7bde471 100644 --- a/nix/hosts/wildcat/default.nix +++ b/nix/hosts/wildcat/default.nix @@ -1,18 +1,18 @@ { ... }: { - imports = [ - ./hardware.nix - ./networking.nix - ./configuration.nix - ]; + imports = [ ./hardware.nix ./networking.nix ./configuration.nix ]; boot.tmp.cleanOnBoot = true; zramSwap.enable = true; + networking.hostName = "fcuny"; networking.domain = "net"; + services.openssh.enable = true; + users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" ]; + system.stateVersion = "23.11"; } -- cgit v1.2.3