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:
pagedmov
2024-11-01 22:00:08 -04:00
parent 08bed40c52
commit 99b13fd979
18 changed files with 81 additions and 71 deletions

View File

@@ -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 {

View File

@@ -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;