nix/denna,sini: try longhorn workaround
Anirudh Oppiliappan x@icyphox.sh
Sun, 07 Jul 2024 21:06:41 +0300
2 files changed,
18 insertions(+),
2 deletions(-)
M
hosts/denna/configuration.nix
→
hosts/denna/configuration.nix
@@ -74,7 +74,6 @@ environment.systemPackages = with pkgs; [
vim wget git - openiscsi ]; services = {@@ -91,6 +90,11 @@ serverAddr = "https://sini:6443";
tokenFile = "/var/lib/rancher/k3s/token"; }; + services.openiscsi = { + enable = true; + name = config.networking.hostName; + }; + environment.etc = { "rancher/k3s/registries.yaml" = { text = ''@@ -101,6 +105,10 @@ - "http://sini:5000"
''; }; }; + + systemd.tmpfiles.rules = [ + "L+ /usr/local/bin - - - - /run/current-system/sw/bin/" + ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; system.stateVersion = "24.05";
M
hosts/sini/configuration.nix
→
hosts/sini/configuration.nix
@@ -75,7 +75,6 @@ environment.systemPackages = with pkgs; [
vim wget git - openiscsi ]; services = {@@ -114,6 +113,15 @@ - "http://sini:5000"
''; }; }; + + services.openiscsi = { + enable = true; + name = config.networking.hostName; + }; + + systemd.tmpfiles.rules = [ + "L+ /usr/local/bin - - - - /run/current-system/sw/bin/" + ]; services.dockerRegistry = { enable = true;