1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 10:41:06 +01:00

feat: add nur via krops

This commit is contained in:
2021-06-02 08:53:35 +02:00
parent e6b761da34
commit 69354bbd3a
4 changed files with 17 additions and 4 deletions

10
.versions/nur.json Normal file
View File

@@ -0,0 +1,10 @@
{
"url": "https://github.com/nix-community/NUR",
"rev": "57e32d3d8923ade143426ccf1bfbcf4f52f34975",
"date": "2021-06-02T04:12:55+00:00",
"path": "/nix/store/aqzka9m16d5zkxk8jqa31b40gfmq6a8d-NUR",
"sha256": "0y8y28w7g091h4h85prbzvrggdag3nan27563wi00805zyr9wslj",
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

View File

@@ -21,10 +21,7 @@ in {
config = {
allowUnfree = true;
packageOverrides = pkgs: {
nur = import (builtins.fetchTarball
"https://github.com/nix-community/NUR/archive/222ea29ec4afb09c5565a7e5dda14bfd65a4a9f6.tar.gz") {
inherit pkgs;
};
nur = import <nur> { inherit pkgs; };
writeDashBin = pkgs.writers.writeDashBin;
writeDash = pkgs.writers.writeDash;
gfs-fonts = pkgs.callPackage <niveum/packages/gfs-fonts.nix> {};

View File

@@ -23,6 +23,7 @@ let
home-manager.git = gitFromJson .versions/home-manager.json;
stockholm.git = gitFromJson .versions/stockholm.json;
retiolum.git = gitFromJson .versions/retiolum.json;
nur.git = gitFromJson .versions/nur.json;
system-secrets.pass = {
dir = toString ~/.password-store;
name = "systems/${name}";

View File

@@ -35,6 +35,11 @@ let
url = "https://github.com/krebs/retiolum";
path = toString .versions/retiolum.json;
};
nur = {
ref = "refs/heads/master";
url = "https://github.com/nix-community/NUR";
path = toString .versions/nur.json;
};
};
in pkgs.mkShell {
buildInputs = [