about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-08 19:40:26 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-08 19:40:26 -0700
commit996a334d423e7fb03cdc9e15bddf660cd8c10bed (patch)
tree5bbdc13b6394b85a51b71acab7d0a4aac555054d
parentmodules/tahoe: remove duplicated declaration for user 'nas' (diff)
downloadworld-996a334d423e7fb03cdc9e15bddf660cd8c10bed.tar.gz
profiles: clean up the imports
The hosts should be explicit about what to import.
Diffstat (limited to '')
-rw-r--r--hosts/aptos/default.nix2
-rw-r--r--hosts/tahoe/default.nix1
-rw-r--r--profiles/nas.nix1
-rw-r--r--profiles/workstation.nix2
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
   ];