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,
|
||||
nodes,
|
||||
users,
|
||||
lib,
|
||||
sources,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkMerge;
|
||||
in
|
||||
{
|
||||
deployment.allowLocalDeployment = true;
|
||||
|
||||
|
@ -32,9 +37,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
nix.settings.trusted-users = [
|
||||
"root"
|
||||
"@wheel"
|
||||
nix.settings = mkMerge [
|
||||
((import sources.dgnum-infra { }).mkCacheSettings {
|
||||
caches = [ "infra" ];
|
||||
})
|
||||
{
|
||||
trusted-users = [
|
||||
"root"
|
||||
"@wheel"
|
||||
];
|
||||
}
|
||||
];
|
||||
networking.networkmanager = {
|
||||
enable = true;
|
||||
|
|
|
@ -83,8 +83,8 @@
|
|||
};
|
||||
"netaccess00.dgn" = {
|
||||
user = "root";
|
||||
hostname = "192.168.2.2";
|
||||
# proxyJump = "vault01.dgnum";
|
||||
hostname = "fd26:baf9:d250:8000::200f";
|
||||
proxyJump = "vault01.dgnum";
|
||||
};
|
||||
"netcore00.dgn" = {
|
||||
user = "root";
|
||||
|
|
|
@ -39,6 +39,17 @@
|
|||
"url": "https://github.com/nix-community/home-manager/archive/65912bc6841cf420eb8c0a20e03df7cbbff5963f.tar.gz",
|
||||
"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": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
|
@ -112,4 +123,4 @@
|
|||
}
|
||||
},
|
||||
"version": 3
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue