gave files.nix it's own directory, renamed all of the options ending with 'Opts' to end with 'Config' instead for consistency.
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
sddmOpts.enable = lib.mkEnableOption "enables custom sddm configuration";
|
||||
sddmConfig.enable = lib.mkEnableOption "enables custom sddm configuration";
|
||||
};
|
||||
config = lib.mkIf config.sddmOpts.enable {
|
||||
config = lib.mkIf config.sddmConfig.enable {
|
||||
environment.systemPackages = [
|
||||
(
|
||||
pkgs.catppuccin-sddm.override {
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
stylixOpts.enable = lib.mkEnableOption "enables custom stylix options";
|
||||
stylixConfig.enable = lib.mkEnableOption "enables custom stylix options";
|
||||
};
|
||||
config = lib.mkIf config.stylixOpts.enable {
|
||||
config = lib.mkIf config.stylixConfig.enable {
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = scheme;
|
||||
|
||||
Reference in New Issue
Block a user