fix(stylix): Always set options
Stylix cannot be disabled: https://github.com/danth/stylix/issues/216
This commit is contained in:
parent
a539aa467f
commit
43d2a4845d
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue