feat: centralize longhorn config
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
jq
|
||||
ripgrep
|
||||
fd
|
||||
nfs-utils
|
||||
];
|
||||
|
||||
networking = {
|
||||
@@ -65,14 +64,5 @@
|
||||
};
|
||||
};
|
||||
|
||||
# For longhorn
|
||||
services.openiscsi = {
|
||||
enable = true;
|
||||
name = "iqn.2016-04.com.open-iscsi:${config.networking.hostName}";
|
||||
};
|
||||
systemd.tmpfiles.rules = [
|
||||
"L+ /usr/local/bin - - - - /run/current-system/sw/bin/"
|
||||
];
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
||||
@@ -21,15 +21,6 @@
|
||||
services.openssh.enable = true;
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
# For longhorn
|
||||
services.openiscsi = {
|
||||
enable = true;
|
||||
name = "iqn.2016-04.com.open-iscsi:${meta.hostname}";
|
||||
};
|
||||
systemd.tmpfiles.rules = [
|
||||
"L+ /usr/local/bin - - - - /run/current-system/sw/bin/"
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
neovim
|
||||
@@ -37,7 +28,6 @@
|
||||
jq
|
||||
ripgrep
|
||||
fd
|
||||
nfs-utils
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
||||
Reference in New Issue
Block a user