diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-08 19:40:26 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-08 19:40:26 -0700 |
commit | 996a334d423e7fb03cdc9e15bddf660cd8c10bed (patch) | |
tree | 5bbdc13b6394b85a51b71acab7d0a4aac555054d | |
parent | modules/tahoe: remove duplicated declaration for user 'nas' (diff) | |
download | world-996a334d423e7fb03cdc9e15bddf660cd8c10bed.tar.gz |
profiles: clean up the imports
The hosts should be explicit about what to import.
-rw-r--r-- | hosts/aptos/default.nix | 2 | ||||
-rw-r--r-- | hosts/tahoe/default.nix | 1 | ||||
-rw-r--r-- | profiles/nas.nix | 1 | ||||
-rw-r--r-- | profiles/workstation.nix | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix index faa4cd8..1a3e56f 100644 --- a/hosts/aptos/default.nix +++ b/hosts/aptos/default.nix @@ -5,6 +5,8 @@ ./hardware.nix ./networking.nix ./services.nix + "${self}/profiles/btrfs.nix" + "${self}/profiles/documentation.nix" "${self}/profiles/laptop.nix" "${self}/profiles/hardware/xps9300.nix" ]; diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix index dff4660..7cb25fd 100644 --- a/hosts/tahoe/default.nix +++ b/hosts/tahoe/default.nix @@ -8,6 +8,7 @@ in ./hardware.nix ./networking.nix ./services.nix + "${self}/profiles/btrfs.nix" "${self}/profiles/nas.nix" "${self}/profiles/acme.nix" "${self}/profiles/hardware/amd.nix" diff --git a/profiles/nas.nix b/profiles/nas.nix index 7dc92da..296c364 100644 --- a/profiles/nas.nix +++ b/profiles/nas.nix @@ -1,7 +1,6 @@ { config, pkgs, ... }: { imports = [ - ./btrfs.nix ./server.nix ]; diff --git a/profiles/workstation.nix b/profiles/workstation.nix index d27262f..acc04c5 100644 --- a/profiles/workstation.nix +++ b/profiles/workstation.nix @@ -2,8 +2,6 @@ { imports = [ ./default.nix - ./documentation.nix - ./btrfs.nix ./tailscale.nix ]; |