all repos — dotfiles @ d50e42615b05e5b3d1263b257bee841e2043c822

my *nix dotfiles

nix/denna,sini: try longhorn workaround
Anirudh Oppiliappan x@icyphox.sh
Sun, 07 Jul 2024 21:06:41 +0300
commit

d50e42615b05e5b3d1263b257bee841e2043c822

parent

64f75fd5881d155ffde0d04d2c1e8b440c878aa1

2 files changed, 18 insertions(+), 2 deletions(-)

jump to
M hosts/denna/configuration.nixhosts/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.nixhosts/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;