diff --git a/README.md b/README.md index 5b95a35..4388cda 100644 --- a/README.md +++ b/README.md @@ -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" \ No newline at end of file +>"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 diff --git a/flake.lock b/flake.lock index 283cdb6..7c0f5ad 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/flake.nix b/flake.nix index 20f9121..4dc6b6a 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; }; } diff --git a/users/modules/de.nix b/users/modules/de.nix index ff66b5f..e2b4c02 100644 --- a/users/modules/de.nix +++ b/users/modules/de.nix @@ -5,6 +5,7 @@ ./programs/firefox.nix ./programs/hyprland.nix ./programs/kitty.nix + ./programs/spicetify.nix ./programs/waybar.nix ]; } diff --git a/users/modules/programs/hyprland.nix b/users/modules/programs/hyprland.nix index bad2477..6477807 100644 --- a/users/modules/programs/hyprland.nix +++ b/users/modules/programs/hyprland.nix @@ -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 diff --git a/users/modules/programs/spicetify.nix b/users/modules/programs/spicetify.nix new file mode 100644 index 0000000..e214edf --- /dev/null +++ b/users/modules/programs/spicetify.nix @@ -0,0 +1,10 @@ +{inputs, ...}: { + imports = [ + inputs.spicetify-nix.homeManagerModules.spicetify + ]; + programs.spicetify = { + enable = true; + # spotifyPackage = pkgs.spotify; + # spotifywmPackage = pkgs.spotifywm; + }; +}