feat: add spicetify with hyprland keybind

This commit is contained in:
Mohammad Rafiq 2025-03-15 11:59:18 +08:00
parent f06cd21342
commit 254613dfa3
6 changed files with 80 additions and 8 deletions

View file

@ -1 +1,7 @@
>"This is fucking brilliant. Nobody needs this, nobody has a real use for this and this definitely does not attract girls. Still, I'll try this and probably love it. -Tim Goeree"
>"This is fucking brilliant. Nobody needs this, nobody has a real use for this and this definitely does not attract girls. Still, I'll try this and probably love it. -Tim Goeree"
# As Yet Unreproducible
- User passwords
- Spotify login
- Firefox login

61
flake.lock generated
View file

@ -300,7 +300,7 @@
},
"flake-utils_4": {
"inputs": {
"systems": "systems_6"
"systems": "systems_7"
},
"locked": {
"lastModified": 1731533236,
@ -913,6 +913,22 @@
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1741379970,
"narHash": "sha256-Wh7esNh7G24qYleLvgOSY/7HlDUzWaL/n4qzlBePpiw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "36fd87baa9083f34f7f5027900b62ee6d09b1f2f",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_6": {
"locked": {
"lastModified": 1740367490,
"narHash": "sha256-WGaHVAjcrv+Cun7zPlI41SerRtfknGQap281+AakSAw=",
@ -928,7 +944,7 @@
"type": "github"
}
},
"nixpkgs_6": {
"nixpkgs_7": {
"locked": {
"lastModified": 1737003892,
"narHash": "sha256-RCzJE9wKByLCXmRBp+z8LK9EgdW+K+W/DXnJS4S/NVo=",
@ -1084,6 +1100,7 @@
"nixpkgs": "nixpkgs_3",
"nixvim": "nixvim",
"nvf": "nvf",
"spicetify-nix": "spicetify-nix",
"stylix": "stylix",
"yazi": "yazi"
}
@ -1131,6 +1148,25 @@
"type": "github"
}
},
"spicetify-nix": {
"inputs": {
"nixpkgs": "nixpkgs_5",
"systems": "systems_5"
},
"locked": {
"lastModified": 1741493656,
"narHash": "sha256-1M2mf5pZTlhZXkSI8wKs9GfNb1hllND58zQUYSAe8EA=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "a06e502c884307c33dbdf2017fd50ab3592ad868",
"type": "github"
},
"original": {
"owner": "Gerg-L",
"repo": "spicetify-nix",
"type": "github"
}
},
"stylix": {
"inputs": {
"base16": "base16",
@ -1143,9 +1179,9 @@
"git-hooks": "git-hooks",
"gnome-shell": "gnome-shell",
"home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_6",
"nur": "nur",
"systems": "systems_5",
"systems": "systems_6",
"tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty",
"tinted-schemes": "tinted-schemes",
@ -1256,6 +1292,21 @@
"type": "github"
}
},
"systems_7": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tinted-foot": {
"flake": false,
"locked": {
@ -1425,7 +1476,7 @@
"yazi": {
"inputs": {
"flake-utils": "flake-utils_4",
"nixpkgs": "nixpkgs_6",
"nixpkgs": "nixpkgs_7",
"rust-overlay": "rust-overlay_2"
},
"locked": {

View file

@ -17,6 +17,7 @@
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true; # inherit the nixpkgs and its config
useUserPackages = true;
extraSpecialArgs = args;
users.rafiq.imports = [
@ -52,5 +53,6 @@
nixvim.inputs.nixpkgs.follows = "nixpkgs";
nixd.url = "github:nix-community/nixd";
stylix.url = "github:danth/stylix";
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
};
}

View file

@ -5,6 +5,7 @@
./programs/firefox.nix
./programs/hyprland.nix
./programs/kitty.nix
./programs/spicetify.nix
./programs/waybar.nix
];
}

View file

@ -48,11 +48,13 @@
"$mainMod" = "SUPER";
"$terminal" = "kitty";
"$browser" = "firefox";
"$music" = "spotify";
bind = [
"$mainMod, Q, exec, $terminal"
"$mainMod, SEMICOLON, exec, $terminal"
"$mainMod, W, killactive"
"$mainMod, E, exec, $browser"
"$mainMod, O, exec, $browser"
"$mainMod, S, exec, $music"
"$mainMod, M, exit"
# HJKL to move between windows

View file

@ -0,0 +1,10 @@
{inputs, ...}: {
imports = [
inputs.spicetify-nix.homeManagerModules.spicetify
];
programs.spicetify = {
enable = true;
# spotifyPackage = pkgs.spotify;
# spotifywmPackage = pkgs.spotifywm;
};
}