1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

chore: add nixpkgs-unstable as krops source

This commit is contained in:
2021-05-03 14:32:34 +02:00
parent c17b611af5
commit 80e91d1685
9 changed files with 19 additions and 17 deletions

View File

@@ -1,7 +1,10 @@
{ {
"url": "https://github.com/NixOS/nixpkgs.git", "url": "https://github.com/NixOS/nixpkgs.git",
"rev": "0ead6f8cfd461c3a366c8bc9893037afd89f798d", "rev": "7c679678d6fd5e9b6a37155fa7b66228341dc4fa",
"date": "2020-10-27T18:30:26+01:00", "date": "2021-05-03T12:47:27+01:00",
"sha256": "170kziw7bxfm4mwi8q5c2vdpayml0mini4zyxagbvbivivdj5hla", "path": "/nix/store/j6sznqfiqsd39ra8rxm11pi52vis7aad-nixpkgs",
"fetchSubmodules": false "sha256": "1yi897052cy9s1c9il3h8774jmch1p7clyg0b5jrpq1px6bd29rd",
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
} }

View File

@@ -2,7 +2,7 @@
let let
hc = pkgs.callPackage <stockholm/tv/5pkgs/simple/hc.nix> {}; hc = pkgs.callPackage <stockholm/tv/5pkgs/simple/hc.nix> {};
worldradio = pkgs.callPackage <niveum/packages/worldradio.nix> {}; worldradio = pkgs.callPackage <niveum/packages/worldradio.nix> {};
inherit (import <niveum/lib>) nixpkgs-unstable; nixpkgs-unstable = import <nixpkgs-unstable> { config.allowUnfree = true; };
in { in {
imports = [ imports = [
./krebs.nix ./krebs.nix

View File

@@ -1,6 +1,6 @@
{ pkgs, lib, config, ... }: { pkgs, lib, config, ... }:
let let
inherit (import <niveum/lib>) nixpkgs-unstable; nixpkgs-unstable = import <nixpkgs-unstable> {};
zoteroStyle = { name, sha256 }: { zoteroStyle = { name, sha256 }: {
name = "${name}.csl"; name = "${name}.csl";

View File

@@ -1,6 +1,8 @@
{ lib, pkgs, config, ... }: { lib, pkgs, config, ... }:
let let
inherit (import <niveum/lib>) nixpkgs-unstable tmpfilesConfig; inherit (import <niveum/lib>) tmpfilesConfig;
nixpkgs-unstable = import <nixpkgs-unstable> {};
radioStore = "/var/lib/radio"; radioStore = "/var/lib/radio";
htgenPort = 8080; htgenPort = 8080;
meddl = { streamPort = 8000; mpdPort = 6600; }; meddl = { streamPort = 8000; mpdPort = 6600; };

View File

@@ -19,6 +19,7 @@ let
nixos-config.symlink = "system/configuration.nix"; nixos-config.symlink = "system/configuration.nix";
nixpkgs.git = gitFromJson .versions/nixpkgs.json // { shallow = true; }; nixpkgs.git = gitFromJson .versions/nixpkgs.json // { shallow = true; };
nixpkgs-unstable.git = gitFromJson .versions/nixpkgs-unstable.json // { shallow = true; };
home-manager.git = gitFromJson .versions/home-manager.json; home-manager.git = gitFromJson .versions/home-manager.json;
stockholm.git = gitFromJson .versions/stockholm.json; stockholm.git = gitFromJson .versions/stockholm.json;
retiolum.git = gitFromJson .versions/retiolum.json; retiolum.git = gitFromJson .versions/retiolum.json;

View File

@@ -1,10 +1,4 @@
rec { rec {
nixpkgs-src = builtins.fetchGit {
url = "https://github.com/NixOS/nixpkgs";
rev = "7c679678d6fd5e9b6a37155fa7b66228341dc4fa";
};
nixpkgs-unstable = import nixpkgs-src { config.allowUnfree = true; };
tmpfilesConfig = {type, path, mode ? "-", user ? "-", group ? "-", age ? "-", argument ? "-"}: "${type} '${path}' ${mode} ${user} ${group} ${age} ${argument}"; tmpfilesConfig = {type, path, mode ? "-", user ? "-", group ? "-", age ? "-", argument ? "-"}: "${type} '${path}' ${mode} ${user} ${group} ${age} ${argument}";
firewall = lib: { firewall = lib: {

View File

@@ -4,9 +4,6 @@ let
netname = "retiolum"; netname = "retiolum";
cfg = config.networking.retiolum; cfg = config.networking.retiolum;
in { in {
imports = [ "${(import <niveum/lib>).nixpkgs-src}/nixos/modules/services/networking/tinc.nix" ];
disabledModules = [ "services/networking/tinc.nix" ];
options = { options = {
networking.retiolum.ipv4 = mkOption { networking.retiolum.ipv4 = mkOption {
type = types.str; type = types.str;

View File

@@ -10,6 +10,11 @@ let
url = "https://github.com/NixOS/nixpkgs.git"; url = "https://github.com/NixOS/nixpkgs.git";
path = toString .versions/nixpkgs.json; path = toString .versions/nixpkgs.json;
}; };
nixpkgs-unstable = {
ref = "refs/heads/master";
url = "https://github.com/NixOS/nixpkgs.git";
path = toString .versions/nixpkgs-unstable.json;
};
home-manager = { home-manager = {
ref = "refs/heads/release-${release}"; ref = "refs/heads/release-${release}";
url = "https://github.com/nix-community/home-manager.git"; url = "https://github.com/nix-community/home-manager.git";

View File

@@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
inherit (import <niveum/lib>) nixpkgs-unstable; nixpkgs-unstable = import <nixpkgs-unstable> {};
in in
{ {
imports = [ imports = [