feat: DGNum cache
This commit is contained in:
parent
73dabbf5f1
commit
999a16501d
3 changed files with 29 additions and 6 deletions
|
@ -2,8 +2,13 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
nodes,
|
nodes,
|
||||||
users,
|
users,
|
||||||
|
lib,
|
||||||
|
sources,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkMerge;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
deployment.allowLocalDeployment = true;
|
deployment.allowLocalDeployment = true;
|
||||||
|
|
||||||
|
@ -32,9 +37,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.settings.trusted-users = [
|
nix.settings = mkMerge [
|
||||||
"root"
|
((import sources.dgnum-infra { }).mkCacheSettings {
|
||||||
"@wheel"
|
caches = [ "infra" ];
|
||||||
|
})
|
||||||
|
{
|
||||||
|
trusted-users = [
|
||||||
|
"root"
|
||||||
|
"@wheel"
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -83,8 +83,8 @@
|
||||||
};
|
};
|
||||||
"netaccess00.dgn" = {
|
"netaccess00.dgn" = {
|
||||||
user = "root";
|
user = "root";
|
||||||
hostname = "192.168.2.2";
|
hostname = "fd26:baf9:d250:8000::200f";
|
||||||
# proxyJump = "vault01.dgnum";
|
proxyJump = "vault01.dgnum";
|
||||||
};
|
};
|
||||||
"netcore00.dgn" = {
|
"netcore00.dgn" = {
|
||||||
user = "root";
|
user = "root";
|
||||||
|
|
|
@ -39,6 +39,17 @@
|
||||||
"url": "https://github.com/nix-community/home-manager/archive/65912bc6841cf420eb8c0a20e03df7cbbff5963f.tar.gz",
|
"url": "https://github.com/nix-community/home-manager/archive/65912bc6841cf420eb8c0a20e03df7cbbff5963f.tar.gz",
|
||||||
"hash": "026hmc30kkyd9ihpjd6cm1b22galdi164ardhmj5x5jcszhjx4r9"
|
"hash": "026hmc30kkyd9ihpjd6cm1b22galdi164ardhmj5x5jcszhjx4r9"
|
||||||
},
|
},
|
||||||
|
"dgnum-infra": {
|
||||||
|
"type": "Git",
|
||||||
|
"repository": {
|
||||||
|
"type": "Git",
|
||||||
|
"url": "https://git.dgnum.eu/DGNum/infrastructure"
|
||||||
|
},
|
||||||
|
"branch": "main",
|
||||||
|
"revision": "accf643294f77744269ad8c812d93956b1faa672",
|
||||||
|
"url": null,
|
||||||
|
"hash": "0iiy2aadlh0jv5hbgq4c14x3ngnc1v4b1wzfhhhwhj14nqmr1ig3"
|
||||||
|
},
|
||||||
"kat-pkgs": {
|
"kat-pkgs": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -112,4 +123,4 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": 3
|
"version": 3
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue