From f119c99464a0ab2ab55e939fa4dd926bf882f9c9 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sun, 21 Jul 2024 10:36:15 +0200 Subject: [PATCH] tadpole: Add `network` module --- hosts/tadpole/configuration.nix | 3 --- hosts/tadpole/modules/network/default.nix | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 hosts/tadpole/modules/network/default.nix diff --git a/hosts/tadpole/configuration.nix b/hosts/tadpole/configuration.nix index e83c2e1..3dcf2b4 100644 --- a/hosts/tadpole/configuration.nix +++ b/hosts/tadpole/configuration.nix @@ -1,5 +1,4 @@ { pkgs, ... }: - { imports = [ @@ -21,8 +20,6 @@ }; }; - networking.hostName = "tadpole"; - users.users.alex = { isNormalUser = true; extraGroups = [ "wheel" ]; diff --git a/hosts/tadpole/modules/network/default.nix b/hosts/tadpole/modules/network/default.nix new file mode 100644 index 0000000..c14c388 --- /dev/null +++ b/hosts/tadpole/modules/network/default.nix @@ -0,0 +1,6 @@ +{ ... }: +{ + networking = { + hostName = "tadpole"; + }; +}