Applied formatting

This commit is contained in:
Jan Bulthuis committed 2024-07-19 14:00:55 +02:00
1 parent e1b1e7cc38
commit 16de891fc7
69 files changed
+997 -635

No files matched your search

+10 -6
View File
@@ -1,14 +1,18 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.clean-tmp;
in {
in
{
options.modules.clean-tmp = {
enable = mkEnableOption "clean-tmp";
};
config = mkIf cfg.enable {
boot.tmp.cleanOnBoot = true;
};
}
config = mkIf cfg.enable { boot.tmp.cleanOnBoot = true; };
}
+10 -4
View File
@@ -1,9 +1,15 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.silent-boot;
in {
in
{
options.modules.silent-boot = {
enable = mkEnableOption "silent-boot";
};
@@ -11,7 +17,7 @@ in {
config = mkIf cfg.enable {
boot = {
loader.timeout = 0;
consoleLogLevel = 0;
initrd.verbose = false;
initrd.checkJournalingFS = false;
@@ -28,4 +34,4 @@ in {
];
};
};
}
}
+9 -3
View File
@@ -1,9 +1,15 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.systemd-boot;
in {
in
{
options.modules.systemd-boot = {
enable = mkEnableOption "systemd-boot";
};
@@ -15,4 +21,4 @@ in {
efi.canTouchEfiVariables = true;
};
};
}
}