test udev rule
This commit is contained in:
parent
f859848fe0
commit
565e54ec90
2 changed files with 8 additions and 2 deletions
|
|
@ -23,6 +23,10 @@ in
|
|||
boot.kernelModules = [ "fuse" ];
|
||||
programs.fuse.userAllowOther = true;
|
||||
|
||||
services.udev.extraRules = ''
|
||||
KERNEL=="fuse", MODE="0666", OWNER="root", GROUP="root"
|
||||
'';
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
6443 # k3s, api server
|
||||
2379 # k3s, etcd clients
|
||||
|
|
@ -69,7 +73,6 @@ in
|
|||
images = import ./images args;
|
||||
disable = [];
|
||||
};
|
||||
# systemd.services.k3s.serviceConfig.DeviceAllow = mkForce [ "/dev/fuse rwm" ];
|
||||
systemd.services.k3s = {
|
||||
restartTriggers = [
|
||||
(builtins.toJSON config.services.k3s.manifests)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue