añade unstable

This commit is contained in:
Fabián Montero 2022-11-04 22:36:34 -06:00
parent d72fa6a09f
commit 1e6cd9ee3d
3 changed files with 23 additions and 4 deletions

View file

@ -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"
}
}
},

View file

@ -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";

View file

@ -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 = {