Replace nixpkgs-unstable with pkgs-unstable
diff --git a/flake.lock b/flake.lock
index 2168b8e..b117f74 100644
--- a/flake.lock
+++ b/flake.lock
@@ -96,6 +96,22 @@
"type": "github"
}
},
+ "nixpkgs-unstable": {
+ "locked": {
+ "lastModified": 1653060744,
+ "narHash": "sha256-kfRusllRumpt33J1hPV+CeCCylCXEU7e0gn2/cIM7cY=",
+ "owner": "nixos",
+ "repo": "nixpkgs",
+ "rev": "dfd82985c273aac6eced03625f454b334daae2e8",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nixos",
+ "ref": "nixos-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
"nixpkgs_2": {
"locked": {
"lastModified": 1653087707,
@@ -132,6 +148,7 @@
"comma": "comma",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs_2",
+ "nixpkgs-unstable": "nixpkgs-unstable",
"nurpkgs": "nurpkgs"
}
},
diff --git a/flake.nix b/flake.nix
index 5f96900..c21d406 100644
--- a/flake.nix
+++ b/flake.nix
@@ -22,6 +22,12 @@
config = { allowUnfree = true; };
};
+ pkgs-unstable = import nixpkgs-unstable {
+ inherit system;
+
+ config = { allowUnfree = true; };
+ };
+
variables = import ./src/common/variables.nix;
in {
nixosConfigurations = {
@@ -42,7 +48,7 @@
"${variables.username}" = home-manager.lib.homeManagerConfiguration rec {
inherit system pkgs;
- extraSpecialArgs = extraInputs;
+ extraSpecialArgs = extraInputs // { inherit pkgs-unstable; };
username = variables.username;
homeDirectory = "/home/${username}";
diff --git a/src/apps/personal/swaynotificationcenter.nix b/src/apps/personal/swaynotificationcenter.nix
index 7414566..264abb1 100644
--- a/src/apps/personal/swaynotificationcenter.nix
+++ b/src/apps/personal/swaynotificationcenter.nix
@@ -1,5 +1,5 @@
-{ nixpkgs-unstable, ... }: {
- home.packages = with nixpkgs-unstable; [
- swaynotificationcenter
+{ pkgs-unstable, ... }: {
+ home.packages = with pkgs-unstable; [
+ swaynotificationcenter
];
}