Refactor custom options

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-06-11 19:02:35 +01:00
parent 229169de0f
commit 0b15c9c3fa
27 changed files with 46 additions and 164 deletions

View File

@@ -13,8 +13,6 @@ let
in
{
home-manager.users.${user} = {
imports = [ ./options.nix ];
programs.clipbook.enable = true;
wayland.windowManager.hyprland.settings.bind =

View File

@@ -26,8 +26,6 @@
};
home-manager.users.${user} = {
imports = [ ./options.nix ];
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = false;

View File

@@ -17,8 +17,6 @@ in
environment.persistence."/persist/state"."${home}/.config/theme" = { };
home-manager.users.${user} = {
imports = [ (import ./options.nix { inherit user home; }) ];
theme.enable = true;
wayland.windowManager.hyprland.settings.bind = [

View File

@@ -68,7 +68,7 @@ in
configDir = mkOption {
type = str;
default = "${config.xdg.configHome}/theme";
default = "${home}/.config/theme";
description = "The path to the theme config directory.";
};

View File

@@ -17,8 +17,6 @@ in
environment.persistence."/persist/state"."${home}/.config/Code" = { };
home-manager.users.${user} = {
imports = [ ./options.nix ];
programs.vscode = {
enable = true;
mutableExtensionsDir = false;