Compare commits

..

1 commit

Author SHA1 Message Date
e6923afd01 flake.lock: Update
Some checks failed
EVAL x86_64-linux.picard
BUILD x86_64-linux.picard
UPLOAD x86_64-linux.picard
DOWNLOAD x86_64-linux.picard
CACHIX x86_64-linux.picard
ATTIC x86_64-linux.picard
/ test (push) Successful in 38m25s
Flake lock file updates:

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/2a6d6d064e33d65dc660b65c28ce17195e539db6' (2025-04-28)
  → 'github:nix-community/emacs-overlay/841c18a6fe787b669ea362e3e14f54a5bd12a63c' (2025-04-29)
• Updated input 'emacs-overlay/nixpkgs':
    'github:NixOS/nixpkgs/f771eb401a46846c1aebd20552521b233dd7e18b' (2025-04-24)
  → 'github:NixOS/nixpkgs/5461b7fa65f3ca74cef60be837fd559a8918eaa0' (2025-04-27)
• Updated input 'homeManager':
    'github:nix-community/home-manager/be7cf1709b469a2a2c62169172a167d1fed3509f' (2025-04-28)
  → 'github:nix-community/home-manager/1ad123239957d40e11ef66c203d0a7e272eb48aa' (2025-04-29)
• Updated input 'nixosHardware':
    'github:NixOS/nixos-hardware/f7bee55a5e551bd8e7b5b82c9bc559bc50d868d1' (2025-04-24)
  → 'github:NixOS/nixos-hardware/f1e52a018166e1a324f832de913e12c0e55792d0' (2025-04-29)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f771eb401a46846c1aebd20552521b233dd7e18b' (2025-04-24)
  → 'github:NixOS/nixpkgs/5461b7fa65f3ca74cef60be837fd559a8918eaa0' (2025-04-27)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/d1863f30d9ca67f679f9c2583d7adf674b5d9b8a' (2025-04-28)
  → 'github:numtide/treefmt-nix/82bf32e541b30080d94e46af13d46da0708609ea' (2025-04-29)
2025-04-29 15:02:05 +00:00
4 changed files with 33 additions and 48 deletions

44
flake.lock generated
View file

@ -122,11 +122,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1746001439, "lastModified": 1745921824,
"narHash": "sha256-MQplzhcXXrAlfDIfklvYxXtnxv5akmeLaeGIvouYYUI=", "narHash": "sha256-8FFSHBE0HgW0HGrTULbaUVH29aeVP31Clf2HDtDfqaE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "769f426eb3f6bc6d26f03106ac5772b98595a7b8", "rev": "841c18a6fe787b669ea362e3e14f54a5bd12a63c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -387,11 +387,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745987135, "lastModified": 1745894335,
"narHash": "sha256-8Up4QPuMZEJBU0eefAY+nUe7DYKQQzvaHnMpNdwRgKA=", "narHash": "sha256-m47zhftaod/oHOwoVT25jstdcVLhkrVGyvEHKjbnFHI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d2b3e6c83d457aa0e7f9344c61c3fed32bad0f7e", "rev": "1ad123239957d40e11ef66c203d0a7e272eb48aa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -464,11 +464,11 @@
"lix": { "lix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1745994134, "lastModified": 1745775537,
"narHash": "sha256-rYMXlL9qSv+Syz0udsOJxKeLRQ9FdGmHz6j+YzDi5uE=", "narHash": "sha256-X/mfPstVkj3hhIIBU/tGAuOraiYpm3i/A3BiBg1VH4s=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "a66c91e1018f9e556574f60f8e4cb14544e0e875", "rev": "dad17a54f7cf2bae24274dc2b9a535c1938e6eb0",
"revCount": 17809, "revCount": 17805,
"type": "git", "type": "git",
"url": "https://git@git.lix.systems/lix-project/lix" "url": "https://git@git.lix.systems/lix-project/lix"
}, },
@ -569,11 +569,11 @@
}, },
"nixosHardware": { "nixosHardware": {
"locked": { "locked": {
"lastModified": 1745955289, "lastModified": 1745907084,
"narHash": "sha256-mmV2oPhQN+YF2wmnJzXX8tqgYmUYXUj3uUUBSTmYN5o=", "narHash": "sha256-Q8SpDbTI95vtKXgNcVl1VdSUhhDOORE8R77wWS2rmg8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "72081c9fbbef63765ae82bff9727ea79cc86bd5b", "rev": "f1e52a018166e1a324f832de913e12c0e55792d0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -647,11 +647,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1745921652, "lastModified": 1745742390,
"narHash": "sha256-hEAvEN+y/OQ7wA7+u3bFJwXSe8yoSf2QaOMH3hyTJTQ=", "narHash": "sha256-1rqa/XPSJqJg21BKWjzJZC7yU0l/YTVtjRi0RJmipus=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b000159bba69b0106a42f65e52dbf27f77aca9d3", "rev": "26245db0cb552047418cfcef9a25da91b222d6c7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -711,11 +711,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1745930157, "lastModified": 1745794561,
"narHash": "sha256-y3h3NLnzRSiUkYpnfvnS669zWZLoqqI6NprtLQ+5dck=", "narHash": "sha256-T36rUZHUART00h3dW4sV5tv4MrXKT7aWjNfHiZz7OHg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "46e634be05ce9dc6d4db8e664515ba10b78151ae", "rev": "5461b7fa65f3ca74cef60be837fd559a8918eaa0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -742,11 +742,11 @@
}, },
"nixpkgs_6": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1745930157, "lastModified": 1745794561,
"narHash": "sha256-y3h3NLnzRSiUkYpnfvnS669zWZLoqqI6NprtLQ+5dck=", "narHash": "sha256-T36rUZHUART00h3dW4sV5tv4MrXKT7aWjNfHiZz7OHg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "46e634be05ce9dc6d4db8e664515ba10b78151ae", "rev": "5461b7fa65f3ca74cef60be837fd559a8918eaa0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,7 +1,6 @@
{ {
config, config,
lib, lib,
pkgs,
... ...
}: }:
let let
@ -16,7 +15,6 @@ in
"sisko" "sisko"
"picard" "picard"
"kirk" "kirk"
"pike"
] ]
{ {
enable = true; enable = true;
@ -55,7 +53,6 @@ in
"sisko" "sisko"
"picard" "picard"
"kirk" "kirk"
"pike"
] ]
{ {
enable = true; enable = true;
@ -65,17 +62,13 @@ in
[ [
"picard" "picard"
"kirk" "kirk"
"pike"
] ]
{ {
enable = true; enable = true;
}; };
restic = mkFor [ "sisko" ] { # restic = mkFor ["sisko"] {
# https://github.com/ngosang/restic-exporter/issues/31 # enable = true;
enable = false; # };
repository = config.services.restic.backups.sisko.repository;
passwordFile = config.age.secrets.SISKO_RESTIC_PASSWORD.path;
};
postgres = mkFor [ "sisko" ] { postgres = mkFor [ "sisko" ] {
enable = true; enable = true;
}; };
@ -88,12 +81,9 @@ in
"sisko" "sisko"
"picard" "picard"
"kirk" "kirk"
"pike"
] ]
{ {
enable = true; enable = true;
}; };
}; };
systemd.services.prometheus-restic-exporter.path = [ pkgs.openssh ];
} }

View file

@ -27,14 +27,14 @@ in
} }
]; ];
} }
# { {
# job_name = "pushgateway"; job_name = "pushgateway";
# static_configs = [ static_configs = [
# { {
# targets = [ cfg.pushgateway.web.listen-address ]; targets = [ cfg.pushgateway.web.listen-address ];
# } }
# ]; ];
# } }
{ {
job_name = "node"; job_name = "node";
static_configs = [ static_configs = [
@ -43,7 +43,6 @@ in
"sisko" "sisko"
"picard" "picard"
"kirk" "kirk"
"pike"
]; ];
} }
]; ];
@ -55,7 +54,6 @@ in
targets = builtins.map (host: "${host}.wg.aciceri.dev:9586") [ targets = builtins.map (host: "${host}.wg.aciceri.dev:9586") [
"picard" "picard"
"kirk" "kirk"
"pike"
]; ];
} }
]; ];
@ -67,7 +65,6 @@ in
targets = builtins.map (host: "${host}.wg.aciceri.dev:9134") [ targets = builtins.map (host: "${host}.wg.aciceri.dev:9134") [
"picard" "picard"
"kirk" "kirk"
"pike"
]; ];
} }
]; ];
@ -104,14 +101,12 @@ in
"sisko" "sisko"
"kirk" "kirk"
"picard" "picard"
"pike"
]; ];
} }
]; ];
} }
]; ];
}; };
environment.persistence."/persist".directories = [ environment.persistence."/persist".directories = [
"/var/lib/${cfg.stateDir}" "/var/lib/${cfg.stateDir}"
]; ];

Binary file not shown.