Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c010f7a65 | ||
|
|
c8e02917f0 |
@@ -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";
|
||||
|
||||
|
||||
@@ -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