Compare commits
5 Commits
4a20ffc5f1
...
07526cec2c
Author | SHA1 | Date | |
---|---|---|---|
07526cec2c | |||
|
816aa0b86d | ||
606343b11f | |||
db61a104ff | |||
128f2360c7 |
@ -7,6 +7,7 @@
|
|||||||
htop
|
htop
|
||||||
parted
|
parted
|
||||||
tmux
|
tmux
|
||||||
|
bij
|
||||||
colmena
|
colmena
|
||||||
vim
|
vim
|
||||||
agenix
|
agenix
|
||||||
|
21
flake.lock
21
flake.lock
@ -21,6 +21,26 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"bij": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1712512137,
|
||||||
|
"narHash": "sha256-crxzFc3lc/ViHYVK+IKmIbifxF6zyHgSwhBKd0lLgWE=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "221052d8465f0a4437cb8cae3cc9998c87e88f68",
|
||||||
|
"revCount": 2,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.clerie.de/clerie/bij.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.clerie.de/clerie/bij.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"chaosevents": {
|
"chaosevents": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@ -229,6 +249,7 @@
|
|||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
|
"bij": "bij",
|
||||||
"chaosevents": "chaosevents",
|
"chaosevents": "chaosevents",
|
||||||
"fernglas": "fernglas",
|
"fernglas": "fernglas",
|
||||||
"fieldpoc": "fieldpoc",
|
"fieldpoc": "fieldpoc",
|
||||||
|
@ -7,6 +7,10 @@
|
|||||||
url = "github:ryantm/agenix";
|
url = "github:ryantm/agenix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
bij = {
|
||||||
|
url = "git+https://git.clerie.de/clerie/bij.git";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
chaosevents = {
|
chaosevents = {
|
||||||
url = "git+https://git.clerie.de/clerie/chaosevents.git";
|
url = "git+https://git.clerie.de/clerie/chaosevents.git";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
|
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
settings.allowed-uris = "http: https: github:";
|
settings.allowed-uris = "http: https: git+https: github:";
|
||||||
distributedBuilds = true;
|
distributedBuilds = true;
|
||||||
buildMachines = [
|
buildMachines = [
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
|
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
|
||||||
|
|
||||||
# Allow Hydra to fetch remote URLs in restricted mode
|
# Allow Hydra to fetch remote URLs in restricted mode
|
||||||
nix.settings.allowed-uris = "http: https: github:";
|
nix.settings.allowed-uris = "http: https: git+https: github:";
|
||||||
|
|
||||||
services.openssh.settings= {
|
services.openssh.settings= {
|
||||||
PermitRootLogin = "yes";
|
PermitRootLogin = "yes";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ self, nixpkgs, agenix, chaosevents, fernglas, fieldpoc, nixos-exporter, solid-xmpp-alarm, ... }@inputs:
|
{ self, nixpkgs, agenix, bij, chaosevents, fernglas, fieldpoc, nixos-exporter, solid-xmpp-alarm, ... }@inputs:
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
generateNixosSystem = {
|
generateNixosSystem = {
|
||||||
@ -30,6 +30,8 @@ rec {
|
|||||||
(_: _: {
|
(_: _: {
|
||||||
inherit (agenix.packages."x86_64-linux")
|
inherit (agenix.packages."x86_64-linux")
|
||||||
agenix;
|
agenix;
|
||||||
|
inherit (bij.packages."${system}")
|
||||||
|
bij;
|
||||||
inherit (chaosevents.packages."x86_64-linux")
|
inherit (chaosevents.packages."x86_64-linux")
|
||||||
chaosevents;
|
chaosevents;
|
||||||
})
|
})
|
||||||
@ -57,7 +59,7 @@ rec {
|
|||||||
|
|
||||||
generateColmenaHost = name: hostSystem: {
|
generateColmenaHost = name: hostSystem: {
|
||||||
deployment = {
|
deployment = {
|
||||||
targetHost = "${name}.net.clerie.de";
|
targetHost = hostSystem.config.networking.fqdn;
|
||||||
targetUser = null;
|
targetUser = null;
|
||||||
tags = let
|
tags = let
|
||||||
group = nixpkgs.lib.attrByPath [ "clerie" "monitoring" "serviceLevel" ] null hostSystem.config;
|
group = nixpkgs.lib.attrByPath [ "clerie" "monitoring" "serviceLevel" ] null hostSystem.config;
|
||||||
|
Loading…
Reference in New Issue
Block a user