1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

chore: move to <niveum/*>

This commit is contained in:
Kierán Meinhardt
2019-10-26 13:43:30 +02:00
parent 15cddf337e
commit 6591a39532
20 changed files with 133 additions and 140 deletions

View File

@@ -7,36 +7,29 @@ let
pkgs = import "${krops}/pkgs" {};
importJson = (import <nixpkgs> {}).lib.importJSON;
niveum = {
lib.file = toString ./lib;
packages.file = toString ./packages;
configs.file = toString ./configs;
dot.file = toString ./dot;
modules.file = toString ./modules;
nixos-config.symlink = "system/configuration.nix";
nixpkgs.git = {
url = https://github.com/NixOS/nixpkgs-channels;
ref = (importJson ./nixpkgs.json).rev;
};
nixos-unstable.git = {
url = https://github.com/NixOS/nixpkgs-channels;
ref = "07d4df5";
};
home-manager.git = {
url = https://github.com/rycee/home-manager;
ref = "31e8494";
};
stockholm.git = {
url = https://cgit.krebsco.de/stockholm;
ref = "421a9792";
};
};
regularSystem = path: name: {
source = lib.evalSource [
(niveum // {
{
niveum.file = toString ./.;
system.file = toString path;
nixos-config.symlink = "system/configuration.nix";
nixpkgs.git = {
url = https://github.com/NixOS/nixpkgs-channels;
ref = (importJson ./nixpkgs.json).rev;
};
nixos-unstable.git = {
url = https://github.com/NixOS/nixpkgs-channels;
ref = "07d4df5";
};
home-manager.git = {
url = https://github.com/rycee/home-manager;
ref = "31e8494";
};
stockholm.git = {
url = https://cgit.krebsco.de/stockholm;
ref = "421a9792";
};
secrets.pass = {
dir = toString ~/.password-store/systems;
inherit name;
@@ -45,7 +38,7 @@ let
dir = toString ~/.password-store;
name = "shared";
};
})
}
];
target = "root@${name}:22022";
};