Overhaul luna complete

This commit is contained in:
KoenDR06 2025-02-25 15:56:58 +01:00
parent 06f5971965
commit 6f9fdca876
110 changed files with 2408 additions and 2129 deletions

6
modules/boot/default.nix Normal file
View file

@ -0,0 +1,6 @@
{inputs, ...}: {
imports = [
./loader/systemd.nix
./greeter/sddm.nix
];
}

View file

@ -0,0 +1,21 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.boot.greeter.sddm;
in {
options = {
horseman.boot.greeter.sddm = {
enable = mkEnableOption "SDDM Greeter";
};
};
config = {
services.displayManager.sddm.enable = true;
};
}

View file

@ -0,0 +1,22 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.boot.loader.systemd;
in {
options = {
horseman.boot.loader.systemd = {
enable = mkEnableOption "Sets systemd as the bootloader";
};
};
config = {
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 10;
};
}