From 1e6cd9ee3def7952cbc7762415fd56828d8a71e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Montero?= Date: Fri, 4 Nov 2022 22:36:34 -0600 Subject: [PATCH] =?UTF-8?q?a=C3=B1ade=20unstable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake.lock | 19 ++++++++++++++++++- flake.nix | 5 +++-- home/default.nix | 3 ++- 3 files changed, 23 insertions(+), 4 deletions(-) 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 = {