1
0
mirror of https://github.com/kmein/niveum synced 2026-03-29 08:41:07 +02:00

5 Commits

Author SHA1 Message Date
747402bca4 feat(restic): backup whole hass volume 2023-07-31 22:26:11 +02:00
5876839e4d chore: build makanek locally 2023-07-31 22:25:57 +02:00
bb79707693 chore: update 2023-07-31 22:25:46 +02:00
6c72666ed6 fix: newGardiner checksum 2023-07-31 22:25:26 +02:00
github-actions[bot]
ff84da3d32 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f3fbbc36b4e179a5985b9ab12624e9dfe7989341' (2023-07-26)
  → 'github:NixOS/nixpkgs/48e82fe1b1c863ee26a33ce9bd39621d2ada0a33' (2023-07-28)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/7d053c812bb59bbb15293f9bb6087748e7c21b1a' (2023-07-27)
  → 'github:NixOS/nixpkgs/4ad78e3e98fabb3e4af3bd1a21dadb123aa85b5d' (2023-07-30)
• Updated input 'nur':
    'github:nix-community/NUR/e5381dfacea6a370383d95ade73bccc99460eb78' (2023-07-27)
  → 'github:nix-community/NUR/e731d694c01b2e17ebb7edfb26442d0124b795a4' (2023-07-30)
• Updated input 'retiolum':
    'git+https://git.thalheim.io/Mic92/retiolum?ref=refs/heads/master&rev=966f656268a2d823ee5faf26954640e4b0b29aa7' (2023-07-09)
  → 'git+https://git.thalheim.io/Mic92/retiolum?ref=refs/heads/master&rev=6c500ce24e1234d498e4da9718065ce154579192' (2023-07-28)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/f335a0213504c7e6481c359dc1009be9cf34432c' (2023-07-27)
  → 'github:oxalica/rust-overlay/5c06b0ed7bfb00f3a925af6c4acd1636596381c1' (2023-07-29)
• Updated input 'stylix':
    'github:danth/stylix/5c829554280f3139ddbfce8561d7430efbf2abfb' (2023-07-27)
  → 'github:danth/stylix/c29f2e6f9d0326a690d0c2376712e9134ad8f5c8' (2023-07-29)
2023-07-30 00:49:18 +00:00
4 changed files with 23 additions and 21 deletions

View File

@@ -31,7 +31,7 @@
};
newGardiner = zip-font "NewGardiner" {
url = "https://mjn.host.cs.st-andrews.ac.uk/egyptian/fonts/NewGardiner.zip";
sha256 = "1jd0qa6shh9pqqyig2w43m9l9rv1i50l73jzkhb6g6mqxbhb1mip";
hash = "sha256-i7ZBN28no/884fYMA7ZJ47WpkwZXzY//TK0bDz21pE0=";
stripRoot = false;
};
junicode2 = zip-font "JunicodeTwo" {

33
flake.lock generated
View File

@@ -290,11 +290,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1690370995,
"narHash": "sha256-9z//23jGegLJrf3ITStLwVf715O39dq5u48Kr/XW14U=",
"lastModified": 1690558459,
"narHash": "sha256-5W7y1l2cLYPkpJGNlAja7XW2X2o9rjf0O1mo9nxS9jQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f3fbbc36b4e179a5985b9ab12624e9dfe7989341",
"rev": "48e82fe1b1c863ee26a33ce9bd39621d2ada0a33",
"type": "github"
},
"original": {
@@ -338,11 +338,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1690470013,
"narHash": "sha256-zk1/3IfWkN6wFB+uJPg/zRixeaQgZnevjd9yFM9ATCs=",
"lastModified": 1690696720,
"narHash": "sha256-GCt5xPBXZZjZv7LAgdnk3Ddi/0JVz4H0WIA0IKsP0C4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7d053c812bb59bbb15293f9bb6087748e7c21b1a",
"rev": "4b4b4cf51b42616bc2de1c8fb92ec6a7ba862071",
"type": "github"
},
"original": {
@@ -431,11 +431,11 @@
},
"nur": {
"locked": {
"lastModified": 1690469152,
"narHash": "sha256-hGv34aOLGou7ajwKHWukzYXA6bjK8xYw8eOKBoxuYUo=",
"lastModified": 1690695647,
"narHash": "sha256-9l2fuu/8QnSDOAmyuvsYJsN1U63akWPxcK4W4V6vxr4=",
"owner": "nix-community",
"repo": "NUR",
"rev": "e5381dfacea6a370383d95ade73bccc99460eb78",
"rev": "612e4e11ca96d2c205053a74ab3949c516a7e4ec",
"type": "github"
},
"original": {
@@ -470,11 +470,11 @@
},
"retiolum": {
"locked": {
"lastModified": 1688896810,
"narHash": "sha256-GUw+eaHIiVfADRRI/ngGZ/XSm/pOIjfrQ2tmjfvlc1o=",
"lastModified": 1690585210,
"narHash": "sha256-2AvPueR/Ma5keG0vAjKn9jEb6Yu3xVV+7SE6kQRXb+k=",
"ref": "refs/heads/master",
"rev": "966f656268a2d823ee5faf26954640e4b0b29aa7",
"revCount": 312,
"rev": "6c500ce24e1234d498e4da9718065ce154579192",
"revCount": 313,
"type": "git",
"url": "https://git.thalheim.io/Mic92/retiolum"
},
@@ -519,11 +519,11 @@
]
},
"locked": {
"lastModified": 1690424156,
"narHash": "sha256-Bpml+L280tHTQpwpC5/BJbU4HSvEzMvW8IZ4gAXimhE=",
"lastModified": 1690683485,
"narHash": "sha256-Sp/QpbMg86v12xhCsa6q0yTH8LYaJIcxzbf9LO1zFzM=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "f335a0213504c7e6481c359dc1009be9cf34432c",
"rev": "05d480a7aef1aae1bfb67a39134dcf48c5322528",
"type": "github"
},
"original": {
@@ -579,6 +579,7 @@
},
"original": {
"owner": "danth",
"ref": "release-23.05",
"repo": "stylix",
"type": "github"
}

View File

@@ -17,7 +17,7 @@
retiolum.url = "git+https://git.thalheim.io/Mic92/retiolum";
rust-overlay.url = "github:oxalica/rust-overlay";
scripts.url = "github:kmein/scripts";
stylix.url = "github:danth/stylix";
stylix.url = "github:danth/stylix/release-23.05";
telebots.url = "github:kmein/telebots";
tinc-graph.url = "github:kmein/tinc-graph";
traadfri.url = "github:kmein/traadfri";
@@ -194,7 +194,7 @@
_module.args.nixinate = {
host = "makanek";
sshUser = "root";
buildOn = "remote";
buildOn = "local";
substituteOnTarget = true;
hermetic = false;
};

View File

@@ -1,6 +1,7 @@
{config, ...}: let
port = 8123;
inherit (import ../../lib) restic;
volumeName = "home-assistant.bak";
in {
networking.firewall.allowedTCPPorts = [port];
@@ -19,14 +20,14 @@ in {
};
passwordFile = config.age.secrets.restic.path;
paths = [
"/var/lib/containers/storage/volumes/home-assistant.bak/_data/backups"
"/var/lib/containers/storage/volumes/${volumeName}"
];
};
virtualisation.oci-containers = {
backend = "podman";
containers.homeassistant = {
volumes = ["home-assistant.bak:/config"];
volumes = ["${volumeName}:/config"];
environment.TZ = "Europe/Berlin";
image = "ghcr.io/home-assistant/home-assistant:stable";
extraOptions = [