treewide reformat

This commit is contained in:
Gerg-L 2023-09-23 21:55:56 -04:00
parent de7683556e
commit fc21bf9436
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
42 changed files with 1012 additions and 876 deletions

View file

@ -1,9 +1,11 @@
{self, ...}: {
{ self, ... }:
{
lib,
pkgs,
config,
...
}: {
}:
{
options.local.bootConfig.disable = lib.mkEnableOption "";
config = lib.mkIf (!config.local.bootConfig.disable) {
environment.etc = {
@ -13,7 +15,7 @@
};
};
boot = {
blacklistedKernelModules = ["pcspkr"];
blacklistedKernelModules = [ "pcspkr" ];
kernelParams = lib.mkAfter [
"acpi_call"
"pti=auto"
@ -76,8 +78,8 @@
Type = "oneshot";
RemainAfterExit = true;
};
path = [pkgs.efibootmgr];
wantedBy = ["default.target"];
path = [ pkgs.efibootmgr ];
wantedBy = [ "default.target" ];
script = ''
efibootmgr -t 0
'';