Base of Nix Configuration

This commit is contained in:
2026-01-24 15:52:13 +01:00
commit 02082e2dd8
45 changed files with 3059 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
{ lib, config, ... }:
with lib;
let
cfg = config.within.boot.systemd;
in
{
options.within.boot.systemd = {
enable = mkEnableOption "Boot systemd service";
};
config = mkIf cfg.enable {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.consoleMode = "max";
};
}