Trying to fix nur

This commit is contained in:
Bryan Ramos 2023-06-06 14:49:40 -04:00
parent 6f7d587cfb
commit 52fdcd2aed

View file

@ -2,14 +2,8 @@
inputs = inputs =
{ {
nixpkgs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
url = "github:NixOS/nixpkgs/nixos-unstable"; nur.url = "github:nix-community/NUR";
config = {
packageOverrides = pkgs: {
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; };
};
};
};
home-manager = { home-manager = {
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -20,13 +14,16 @@
}; };
}; };
outputs = { self, nixpkgs, home-manager, disko }: outputs = { self, nixpkgs, nur, home-manager, disko }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
config = { config = {
allowUnfree = true; allowUnfree = true;
packageOverrides = pkgs: {
nur = import nur { inherit pkgs; };
};
}; };
}; };