diff --git a/flake.lock b/flake.lock index a95ef8f..d3e518a 100644 --- a/flake.lock +++ b/flake.lock @@ -103,11 +103,28 @@ "type": "github" } }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1733656523, + "narHash": "sha256-w0FXPfpGhOihoJDiwMsyN1EzpsXi2F8VQ+NVZQSMtys=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "93dc9803a1ee435e590b02cde9589038d5cc3a4e", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", "home-manager": "home-manager_2", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "nixpkgs-unstable": "nixpkgs-unstable" } }, "systems": { diff --git a/flake.nix b/flake.nix index f4c8e80..2579988 100644 --- a/flake.nix +++ b/flake.nix @@ -4,6 +4,7 @@ inputs = { # Specify the source of Home Manager and Nixpkgs. nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; + nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; home-manager = { url = "github:nix-community/home-manager/release-24.11"; inputs.nixpkgs.follows = "nixpkgs"; @@ -14,7 +15,7 @@ }; }; - outputs = { nixpkgs, home-manager, agenix, ... }: + outputs = { nixpkgs, nixpkgs-unstable, home-manager, agenix, ... }: let system = "aarch64-darwin"; pkgs = nixpkgs.legacyPackages.${system}; @@ -29,6 +30,9 @@ # Optionally use extraSpecialArgs # to pass through arguments to home.nix + extraSpecialArgs = { + pkgs-unstable = nixpkgs-unstable.legacyPackages.${system}; + }; }; }; } diff --git a/home.nix b/home.nix index b81e9f2..9baa061 100644 --- a/home.nix +++ b/home.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, pkgs-unstable, ... }: { # Home Manager needs a bit of information about you and the paths it should @@ -39,6 +39,7 @@ lsd lynx most + musescore neovide nil nixd