feat: replace spotify with spicetify

This commit is contained in:
EinEtwas 2024-10-21 11:20:28 +02:00
parent 3ebd628129
commit 61cae6bb8c
4 changed files with 61 additions and 3 deletions

View file

@ -58,6 +58,22 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -153,7 +169,29 @@
"catppuccin": "catppuccin", "catppuccin": "catppuccin",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2",
"spicetify-nix": "spicetify-nix"
}
},
"spicetify-nix": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1729484282,
"narHash": "sha256-VnLaP3OH9rP/+5ZuEsETSyyKtBif5l3mNL3YOxPhBVo=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "7dcfbba64faedd15574e6df5d89b2bcf5bb20128",
"type": "github"
},
"original": {
"owner": "Gerg-L",
"repo": "spicetify-nix",
"type": "github"
} }
}, },
"systems": { "systems": {

View file

@ -10,6 +10,10 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
catppuccin.url = "github:catppuccin/nix"; catppuccin.url = "github:catppuccin/nix";
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixpkgs, nixos-hardware, agenix, ... } @ inputs: { outputs = { self, nixpkgs, nixos-hardware, agenix, ... } @ inputs: {

View file

@ -3,6 +3,7 @@
imports = [ imports = [
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
inputs.catppuccin.nixosModules.catppuccin inputs.catppuccin.nixosModules.catppuccin
inputs.spicetify-nix.nixosModules.default
]; ];
home-manager = { home-manager = {
@ -24,6 +25,7 @@
imports = [ imports = [
inputs.catppuccin.homeManagerModules.catppuccin inputs.catppuccin.homeManagerModules.catppuccin
inputs.spicetify-nix.homeManagerModules.default
./hyprland.nix ./hyprland.nix
./git.nix ./git.nix
./waybar ./waybar
@ -37,7 +39,22 @@
./zsh.nix ./zsh.nix
]; ];
# catppuccin.accent = "mocha"; # TODO: modularize this, it didn't work in the first place..
programs.spicetify =
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in
{
enable = true;
enabledExtensions = with spicePkgs.extensions; [
shuffle
trashbin
featureShuffle
history
oneko
];
theme = spicePkgs.themes.text;
};
home.pointerCursor = { home.pointerCursor = {
gtk.enable = true; gtk.enable = true;

View file

@ -4,7 +4,6 @@
# Desktop Applications # Desktop Applications
vesktop vesktop
obsidian obsidian
spotify
google-chrome google-chrome
signal-desktop signal-desktop
element-desktop element-desktop