+9
-1
hosts/denna/configuration.nix
+9
-1
hosts/denna/configuration.nix
···
74
74
vim
75
75
wget
76
76
git
77
-
openiscsi
78
77
];
79
78
80
79
services = {
···
91
90
tokenFile = "/var/lib/rancher/k3s/token";
92
91
};
93
92
93
+
services.openiscsi = {
94
+
enable = true;
95
+
name = config.networking.hostName;
96
+
};
97
+
94
98
environment.etc = {
95
99
"rancher/k3s/registries.yaml" = {
96
100
text = ''
···
101
105
'';
102
106
};
103
107
};
108
+
109
+
systemd.tmpfiles.rules = [
110
+
"L+ /usr/local/bin - - - - /run/current-system/sw/bin/"
111
+
];
104
112
105
113
nix.settings.experimental-features = [ "nix-command" "flakes" ];
106
114
system.stateVersion = "24.05";
+9
-1
hosts/sini/configuration.nix
+9
-1
hosts/sini/configuration.nix
···
75
75
vim
76
76
wget
77
77
git
78
-
openiscsi
79
78
];
80
79
81
80
services = {
···
114
113
'';
115
114
};
116
115
};
116
+
117
+
services.openiscsi = {
118
+
enable = true;
119
+
name = config.networking.hostName;
120
+
};
121
+
122
+
systemd.tmpfiles.rules = [
123
+
"L+ /usr/local/bin - - - - /run/current-system/sw/bin/"
124
+
];
117
125
118
126
services.dockerRegistry = {
119
127
enable = true;