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:
@@ -2,9 +2,9 @@
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||
in {
|
||||
options = {
|
||||
spicetifyOpts.enable = lib.mkEnableOption "enable my spicetify options";
|
||||
spicetifyConfig.enable = lib.mkEnableOption "enable my spicetify options";
|
||||
};
|
||||
config = lib.mkIf config.spicetifyOpts.enable {
|
||||
config = lib.mkIf config.spicetifyConfig.enable {
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"spotify"
|
||||
|
||||
Reference in New Issue
Block a user