summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index d00eaea..4a3ce59 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,7 @@
{
inputs = {
- nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11";
+ nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
+ nixpkgsUnstable.url = "github:nixos/nixpkgs";
home-manager = {
# "/release-21.11" para stable
@@ -11,7 +12,7 @@
nur.url = "github:nix-community/NUR";
};
- outputs = { self, nixpkgs, home-manager, nur, ... }: with nixpkgs.lib; let
+ outputs = { self, nixpkgs, nixpkgsUnstable, home-manager, nur, ... }: with nixpkgs.lib; let
util = import ./util;
inherit (util nixpkgs.lib) importAll;
@@ -24,6 +25,7 @@
overlay = self: super: {
local = pkgSet super;
+ unstable = import nixpkgsUnstable { inherit (super) config system; };
};
nixosConfigurations = let
@@ -37,7 +39,7 @@
home = platform: home-manager.lib.homeManagerConfiguration {
system = "x86_64-linux";
- configuration = import ./home { inherit self nixpkgs nur; };
+ configuration = import ./home { inherit self nixpkgs nixpkgsUnstable nur; };
extraModules = [ platform ];
username = "ale";