From dfe4b67433278b4a07b56831e88d89aaf96d6d71 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sun, 3 May 2026 02:00:10 -0500 Subject: [PATCH] Fine, modularize it then --- flake.nix | 4 +--- hostname/laptop-nixos-1.nix | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 hostname/laptop-nixos-1.nix diff --git a/flake.nix b/flake.nix index a827990..e29c919 100644 --- a/flake.nix +++ b/flake.nix @@ -10,9 +10,7 @@ system = "x86_64-linux"; modules = [ ./configuration.nix - { - networking.hostName = "laptop-nixos-1"; - }; + ./hostname/laptop-nixos-1.nix ]; }; }; diff --git a/hostname/laptop-nixos-1.nix b/hostname/laptop-nixos-1.nix new file mode 100644 index 0000000..31c603e --- /dev/null +++ b/hostname/laptop-nixos-1.nix @@ -0,0 +1,3 @@ +{ + networking.hostName = "laptop-nixos-1"; +}