diff --git a/nixos/default.nix b/nixos/default.nix index 84408a6..ae1ee09 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -7,11 +7,12 @@ in ./options.nix ./gui stylix.nixosModules.stylix + # FIXME(https://github.com/danth/stylix/issues/216): Must configure stylix + { stylix = import ./stylix-config.nix { inherit config pkgs; }; } ]; config = lib.mkIf cfg.enable { boot.plymouth.enable = cfg.styling.enable; - stylix = lib.mkIf cfg.styling.enable (import ./stylix-config.nix { inherit config pkgs; }); # Enable unlocking the gpg-agent at boot (configured through home.nix) security.pam.services.login.gnupg.enable = true; diff --git a/nixos/options.nix b/nixos/options.nix index 4cf5b8d..89abd11 100644 --- a/nixos/options.nix +++ b/nixos/options.nix @@ -27,7 +27,7 @@ let }; styling.options = { - enable = mkDisableOption "jalil's default styling"; + enable = mkDisableOption "jalil's default styling (cannot be disabled currently)"; wallpaper = lib.mkOption { description = "The wallpaper to use."; type = types.str;