mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 14:00:45 +00:00
Run alejandra
This commit is contained in:
parent
286920def4
commit
c00134da1c
152 changed files with 827 additions and 721 deletions
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, pkgs, ...}: let
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkOption mkEnableOption literalExpression;
|
||||
|
||||
cfg = config.myOptions.system.boot;
|
||||
|
@ -16,17 +21,17 @@ in {
|
|||
description = "The kernel to use for the system.";
|
||||
};
|
||||
|
||||
tmpOnTmpfs =
|
||||
tmpOnTmpfs = mkEnableOption ''
|
||||
`/tmp` living on tmpfs. false means it will be cleared manually on each reboot
|
||||
|
||||
This option defaults to `true` if the host provides patches to the kernel package in
|
||||
`boot.kernelPatches`
|
||||
'';
|
||||
|
||||
silentBoot =
|
||||
mkEnableOption ''
|
||||
`/tmp` living on tmpfs. false means it will be cleared manually on each reboot
|
||||
|
||||
This option defaults to `true` if the host provides patches to the kernel package in
|
||||
`boot.kernelPatches`
|
||||
'';
|
||||
|
||||
silentBoot = mkEnableOption ''
|
||||
almost entirely silent boot process through `quiet` kernel parameter
|
||||
''
|
||||
// { default = cfg.plymouth.enable; };
|
||||
almost entirely silent boot process through `quiet` kernel parameter
|
||||
''
|
||||
// {default = cfg.plymouth.enable;};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, ... }: with lib; let
|
||||
{lib, ...}:
|
||||
with lib; let
|
||||
inherit (lib) mkEnableOption mkOption types;
|
||||
in
|
||||
{
|
||||
in {
|
||||
options.myOptions.system.boot.plymouth = {
|
||||
enable = mkEnableOption ''
|
||||
Plymouth boot splash.
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ lib, ... }: with lib; let
|
||||
{lib, ...}:
|
||||
with lib; let
|
||||
inherit (lib) mkEnableOption;
|
||||
in
|
||||
{
|
||||
in {
|
||||
options.myOptions.system.boot.secure-boot = {
|
||||
enable = mkEnableOption ''
|
||||
enable = mkEnableOption ''
|
||||
secure-boot using lanzaboote.
|
||||
|
||||
Note that you will need to have UEFI firmware, and the rebuild
|
||||
|
@ -18,6 +18,6 @@ in
|
|||
sudo sbctl enroll-keys -m
|
||||
```
|
||||
Then reboot, and secure-boot should be enabled.
|
||||
'';
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue