chore(nix/deps): Manage (Spiced) Spotify with Nix

This commit is contained in:
Ahmad Ansori Palembani 2024-11-06 10:31:11 +07:00
parent 4b9ac3b623
commit 01d4cf8273
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
5 changed files with 70 additions and 12 deletions

View file

@ -3,10 +3,13 @@
outputs = inputs@{ self, nix-darwin, brew-api, nixpkgs-stable, nixpkgs-unstable, home-manager, system-manager, nur, ... }:
let
utils = inputs.flake-utils.lib;
vars = {
floorp = {
verticalTabHoverWidthInEm = 18;
};
rev = self.rev or self.dirtyRev or null;
};
in
@ -36,8 +39,20 @@
inputs = {
nixpkgs-stable.url = "github:NixOS/nixpkgs/release-24.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53";
nur.url = "github:nix-community/NUR";
flake-utils.url = "github:numtide/flake-utils";
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
home-manager = {
url = "github:nix-community/home-manager/64c6325b28ebd708653dd41d88f306023f296184";
inputs.nixpkgs.follows = "nixpkgs-unstable"; # we need unstable (24.11) for programs.floorp. FIXME: switch to stable once 24.11 become stable
};
nix-darwin = {
url = "github:LnL7/nix-darwin/189d2d422c773fa065cc9c72e6806f007ebb9be0";
inputs.nixpkgs.follows = "nixpkgs-stable";
@ -51,16 +66,9 @@
flake = false;
};
home-manager = {
url = "github:nix-community/home-manager/64c6325b28ebd708653dd41d88f306023f296184";
inputs.nixpkgs.follows = "nixpkgs-unstable"; # we need unstable (24.11) for programs.floorp. FIXME: switch to stable once 24.11 become stable
};
system-manager = {
url = "github:numtide/system-manager/c93e62f2e962b54fd961798731d25eaa5778dbe2";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
nur.url = "github:nix-community/NUR";
};
}