From 996a334d423e7fb03cdc9e15bddf660cd8c10bed Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 8 May 2023 19:40:26 -0700 Subject: profiles: clean up the imports The hosts should be explicit about what to import. --- hosts/aptos/default.nix | 2 ++ hosts/tahoe/default.nix | 1 + profiles/nas.nix | 1 - 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 ]; -- cgit 1.4.1