move boot.kernelModule definitions into the module.nix, so that basically every NixOS user can use this module
This commit is contained in:
@@ -99,9 +99,6 @@
|
|||||||
];
|
];
|
||||||
*/
|
*/
|
||||||
|
|
||||||
boot.extraModulePackages = [ self.packages.${system}.random.unkillableKernelModule ];
|
|
||||||
boot.kernelModules = [ "unkillable" ];
|
|
||||||
|
|
||||||
|
|
||||||
hardware.bluetooth.settings = {
|
hardware.bluetooth.settings = {
|
||||||
General = {
|
General = {
|
||||||
|
|||||||
@@ -12,5 +12,8 @@ in {
|
|||||||
};
|
};
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
};
|
};
|
||||||
environment.systemPackages = [ yt_block ];
|
environment.systemPackages = [ yt_block ];
|
||||||
|
|
||||||
|
boot.extraModulePackages = [ (pkgs.callPackage ./unkillable-process-kernel-module.nix {}) ];
|
||||||
|
boot.kernelModules = [ "unkillable" ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user