fix k3s
This commit is contained in:
parent
ad59d86b92
commit
16a8431689
1 changed files with 1 additions and 4 deletions
|
|
@ -69,7 +69,7 @@ in
|
||||||
images = import ./images args;
|
images = import ./images args;
|
||||||
disable = [];
|
disable = [];
|
||||||
};
|
};
|
||||||
|
systemd.services.k3s.serviceConfig.DeviceAllow = mkForce [ "/dev/fuse rwm" ];
|
||||||
systemd.services.k3s = {
|
systemd.services.k3s = {
|
||||||
restartTriggers = [
|
restartTriggers = [
|
||||||
(builtins.toJSON config.services.k3s.manifests)
|
(builtins.toJSON config.services.k3s.manifests)
|
||||||
|
|
@ -81,9 +81,6 @@ in
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
openiscsi
|
openiscsi
|
||||||
];
|
];
|
||||||
serviceConfig = {
|
|
||||||
DeviceAllow = [ "/dev/fuse rwm" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
system.activationScripts.cleanK3sManifests = {
|
system.activationScripts.cleanK3sManifests = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue