Compare commits

...
2 Commits
Author SHA1 Message Date
Zeusina 4c010f7a65 feat: move spicetify tp separate file 2026-07-05 12:12:48 +03:00
Zeusina c8e02917f0 fix: fixed self inheritance in flake for mac 2026-07-05 12:10:35 +03:00
3 changed files with 20 additions and 11 deletions
+4 -1
View File
@@ -20,9 +20,10 @@
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra);
darwinConfigurations."MacBook-Pro-Kirill" = nix-darwin.lib.darwinSystem {
specialArgs = {inherit inputs;};
specialArgs = {inherit inputs self;};
modules = [
./hosts/MacBook-Pro-Kirill/configuration.nix
./shared/programs/spicetify.nix
inputs.spicetify-nix.darwinModules.default
];
};
@@ -34,6 +35,8 @@
modules = [
./hardware-configuration.nix
./hosts/kachu-pc/configuration.nix
./shared/programs/spicetify.nix
inputs.spicetify-nix.nixosModules.default
];
};
};
@@ -50,16 +50,6 @@
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";
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
];
};
}