diff --git a/devices/ellaca/options.nix b/devices/ellaca/options.nix index 3c3f5ef..4f8b3a3 100644 --- a/devices/ellaca/options.nix +++ b/devices/ellaca/options.nix @@ -1,5 +1,5 @@ { ... }: { - minimalHome = false; + full = false; withAudio = true; withBluetooth = true; diff --git a/devices/inkvine/options.nix b/devices/inkvine/options.nix index 04e1993..0111e8b 100644 --- a/devices/inkvine/options.nix +++ b/devices/inkvine/options.nix @@ -1,5 +1,5 @@ { ... }: { - minimalHome = true; + full = true; withAudio = true; withBluetooth = true; diff --git a/devices/pleniscenta/options.nix b/devices/pleniscenta/options.nix index e61e7a2..ca71670 100644 --- a/devices/pleniscenta/options.nix +++ b/devices/pleniscenta/options.nix @@ -1,5 +1,5 @@ { ... }: { - minimalHome = false; + full = false; withAudio = true; withBluetooth = true; diff --git a/modules/home/default.nix b/modules/home/default.nix index 2181cf9..4074b09 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -1,18 +1,18 @@ -{ config, ... }: let - imp = if config.minimalHome then [ - ./utils - ] else [ - ./niri-setup - ./programs - ./themes - ./utils - ]; -in { +{ config, ... }: { home-manager = { useGlobalPkgs = true; useUserPackages = true; users.twoneis = { - imports = imp; + imports = [ + ./utils + ] ++ (if config.withNiri then [ + ./niri-setup + ./themes + ] else []) ++ (if config.withGnome then [ + ./themes + ] else []) ++ (if config.full then [ + ./programs + ] else []); home = { username = "twoneis"; diff --git a/options.nix b/options.nix index c87f183..ae5fdcd 100644 --- a/options.nix +++ b/options.nix @@ -1,6 +1,6 @@ { lib, ... }: { options = with lib; { - minimalHome = mkEnableOption "Minimal home manager configuration with only cli utilities"; + full = mkEnableOption "Full home manager configuration with all programs"; withAudio = mkEnableOption "Enable support for audio"; withBluetooth = mkEnableOption "Enable bluetooth";