Applied formatting
This commit is contained in:
1 parent
e1b1e7cc38
commit
16de891fc7
69 files changed
+997
-635
No files matched your search
@@ -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; };
|
||||
}
|
||||
@@ -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 {
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user