modules: refactoring complete

Hopefully works
This commit is contained in:
vali 2024-07-21 15:32:30 +02:00
commit 873ff746b4
87 changed files with 524 additions and 3085 deletions

View file

@ -5,12 +5,11 @@
inputs,
...
}: let
cfg = config.modules.programs.spicetify;
username = config.modules.other.system.username;
cfg = config.modules.system.programs.spotify;
inherit (config.modules.other.system) username;
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
# inherit (inputs.spicetify-nix.packages.${pkgs.system}) spicetify-nix;
in {
options.modules.programs.spicetify.enable = lib.mkEnableOption "spicetify";
config = lib.mkIf cfg.enable {
home-manager.users.${username} = {
imports = [inputs.spicetify-nix.homeManagerModule];