1
0

Update from updated-inputs-2024-04-09-01-03

This commit is contained in:
clerie 2024-04-09 03:03:05 +02:00
commit 07526cec2c
6 changed files with 32 additions and 4 deletions

View File

@ -7,6 +7,7 @@
htop htop
parted parted
tmux tmux
bij
colmena colmena
vim vim
agenix agenix

View File

@ -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",

View File

@ -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";

View File

@ -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 = [
{ {

View File

@ -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";

View File

@ -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;