feat: move spicetify tp separate file
This commit is contained in:
@@ -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";
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user