diff options
author | Martin Fischer <martin@push-f.com> | 2024-12-27 08:45:34 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2024-12-27 18:44:37 +0100 |
commit | 1b65ba7a838e422c9bf16ddcaf796a996fa51b6b (patch) | |
tree | d8ec8d965f955a7f9a5c2b5c98e8a430fb0e8b6f /nixos/hosts | |
parent | edda7ef46bf2ae7fde9511005b4e7d40648c7e24 (diff) |
refactor: introduce profiles
Diffstat (limited to 'nixos/hosts')
-rw-r--r-- | nixos/hosts/ev/default.nix | 8 | ||||
-rw-r--r-- | nixos/hosts/hamac/default.nix | 9 | ||||
-rw-r--r-- | nixos/hosts/tente/default.nix | 4 |
3 files changed, 6 insertions, 15 deletions
diff --git a/nixos/hosts/ev/default.nix b/nixos/hosts/ev/default.nix index d8b4b24..ec2ed86 100644 --- a/nixos/hosts/ev/default.nix +++ b/nixos/hosts/ev/default.nix @@ -8,11 +8,9 @@ { imports = [ ./hardware-configuration.nix - ../../sanix.nix - ../../parts/server.nix - ../../parts/tailscale.nix - ../../parts/basics.nix - ../../parts/basics-physical.nix + <top/profiles/server> + <top/shared/tailscale.nix> + <top/shared/basics-physical.nix> ]; boot.loader.systemd-boot.enable = true; diff --git a/nixos/hosts/hamac/default.nix b/nixos/hosts/hamac/default.nix index c8f40e1..594d70c 100644 --- a/nixos/hosts/hamac/default.nix +++ b/nixos/hosts/hamac/default.nix @@ -6,13 +6,8 @@ { imports = [ ./hardware-configuration.nix - ../../sanix.nix - ../../parts/basics.nix - ../../parts/basics-physical.nix - ../../parts/graphical.nix - ../../parts/tailscale.nix - ../../parts/dev.nix - ../../parts/create.nix + <top/profiles/workstation> + <top/shared/tailscale.nix> ]; # Bootloader. diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix index b38d1ea..7885ff4 100644 --- a/nixos/hosts/tente/default.nix +++ b/nixos/hosts/tente/default.nix @@ -21,9 +21,7 @@ in { imports = [ ./hardware-configuration.nix - ../../sanix.nix - ../../parts/server.nix - ../../parts/basics.nix + <top/profiles/server> ]; # Use the GRUB 2 boot loader. |