Add wantedBy to services
This commit is contained in:
parent
1ae7313fad
commit
441f4dc464
10
flake.nix
10
flake.nix
|
@ -98,9 +98,13 @@
|
|||
];
|
||||
kernelModules = [ "tenstorrent" ];
|
||||
};
|
||||
systemd.packages = [
|
||||
(pkgs.tt-system-tools or self.packages.${pkgs.hostPlatform.system}.system-tools)
|
||||
];
|
||||
systemd = {
|
||||
# https://github.com/NixOS/nixpkgs/issues/81138
|
||||
services.tenstorrent-hugepages.wantedBy = [ "sysinit.target" ];
|
||||
packages = [
|
||||
(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)
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue