feat: move spicetify tp separate file

This commit is contained in:
2026-07-05 12:12:48 +03:00
parent c8e02917f0
commit 4c010f7a65
3 changed files with 19 additions and 10 deletions
+3
View File
@@ -23,6 +23,7 @@
specialArgs = {inherit inputs self;}; specialArgs = {inherit inputs self;};
modules = [ modules = [
./hosts/MacBook-Pro-Kirill/configuration.nix ./hosts/MacBook-Pro-Kirill/configuration.nix
./shared/programs/spicetify.nix
inputs.spicetify-nix.darwinModules.default inputs.spicetify-nix.darwinModules.default
]; ];
}; };
@@ -34,6 +35,8 @@
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix
./hosts/kachu-pc/configuration.nix ./hosts/kachu-pc/configuration.nix
./shared/programs/spicetify.nix
inputs.spicetify-nix.nixosModules.default
]; ];
}; };
}; };
@@ -50,16 +50,6 @@
nix.optimise.automatic = true; nix.optimise.automatic = true;
programs.spicetify = let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in {
enable = true;
enabledExtensions = with spicePkgs.extensions; [
adblock
beautiful-lyrics
];
};
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = "nix-command flakes";
system.primaryUser = "kirill"; system.primaryUser = "kirill";
+16
View File
@@ -0,0 +1,16 @@
# spicetify.nix
{
pkgs,
inputs,
...
}: {
programs.spicetify = let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in {
enable = true;
enabledExtensions = with spicePkgs.extensions; [
adblock
beautiful-lyrics
];
};
}