diff --git a/flake.lock b/flake.lock index dbca02d..1f027c7 100644 --- a/flake.lock +++ b/flake.lock @@ -72,7 +72,24 @@ "hm-isolation": "hm-isolation", "home-manager": "home-manager", "nixpkgs": "nixpkgs", - "nur": "nur" + "nur": "nur", + "unstable": "unstable" + } + }, + "unstable": { + "locked": { + "lastModified": 1667621285, + "narHash": "sha256-lRAlKd4GVjtgG/yPM84/dUQpViyhGo4/Ehr53zb563Y=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "94d4893136685127c02ea74f978131faeac10442", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "master", + "repo": "nixpkgs", + "type": "github" } } }, diff --git a/flake.nix b/flake.nix index ccfbda4..aa5167f 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,7 @@ { inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05"; + unstable.url = "github:nixos/nixpkgs/master"; nur.url = "github:nix-community/NUR"; hm-isolation.url = "github:3442/hm-isolation"; @@ -10,7 +11,7 @@ }; }; - outputs = {self, nixpkgs, home-manager, nur, hm-isolation, ...}: + outputs = {self, nixpkgs, unstable, home-manager, nur, hm-isolation, ...}: let packages = import ./pkgs; in @@ -22,7 +23,7 @@ homeConfigurations."fabian@posixlycorrect" = home-manager.lib.homeManagerConfiguration { system = "x86_64-linux"; - configuration = import ./home {inherit self nixpkgs hm-isolation; }; + configuration = import ./home {inherit self nixpkgs unstable hm-isolation; }; username = "fabian"; homeDirectory = "/home/fabian"; stateVersion = "21.11"; diff --git a/home/default.nix b/home/default.nix index b84f0ab..ecf1433 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,4 +1,4 @@ -{ nixpkgs, self, hm-isolation }: +{ nixpkgs, unstable, self, hm-isolation }: { config, pkgs, lib, ... } : with lib; { @@ -33,6 +33,7 @@ with lib; }; "nixpkgs".flake = nixpkgs; + "unstable".flake = unstable; }; programs = {