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
|
./options.nix
|
||||||
./gui
|
./gui
|
||||||
stylix.nixosModules.stylix
|
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 {
|
config = lib.mkIf cfg.enable {
|
||||||
boot.plymouth.enable = cfg.styling.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)
|
# Enable unlocking the gpg-agent at boot (configured through home.nix)
|
||||||
security.pam.services.login.gnupg.enable = true;
|
security.pam.services.login.gnupg.enable = true;
|
||||||
|
|
|
@ -27,7 +27,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
styling.options = {
|
styling.options = {
|
||||||
enable = mkDisableOption "jalil's default styling";
|
enable = mkDisableOption "jalil's default styling (cannot be disabled currently)";
|
||||||
wallpaper = lib.mkOption {
|
wallpaper = lib.mkOption {
|
||||||
description = "The wallpaper to use.";
|
description = "The wallpaper to use.";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
Loading…
Reference in a new issue