Make /dev/tenstorrent owned by the tenstorrent group
Hopefully to make the device useable without running docker with --privileged
This commit is contained in:
parent
441f4dc464
commit
e5c7215b90
10
flake.nix
10
flake.nix
|
@ -105,9 +105,13 @@
|
|||
(pkgs.tt-system-tools or self.packages.${pkgs.hostPlatform.system}.system-tools)
|
||||
];
|
||||
};
|
||||
services.udev.packages = [
|
||||
(pkgs.tt-udev-rules or self.packages.${pkgs.hostPlatform.system}.udev-rules)
|
||||
];
|
||||
users.groups.tenstorrent = { };
|
||||
services.udev = {
|
||||
#packages = [ (pkgs.tt-udev-rules or self.packages.${pkgs.hostPlatform.system}.udev-rules) ];
|
||||
extraRules = ''
|
||||
KERNEL=="tenstorrent*", MODE="0666", OWNER="root", GROUP="tenstorrent"
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue