Overhaul luna complete
This commit is contained in:
parent
06f5971965
commit
6f9fdca876
110 changed files with 2408 additions and 2129 deletions
6
modules/boot/default.nix
Normal file
6
modules/boot/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{inputs, ...}: {
|
||||
imports = [
|
||||
./loader/systemd.nix
|
||||
./greeter/sddm.nix
|
||||
];
|
||||
}
|
||||
21
modules/boot/greeter/sddm.nix
Normal file
21
modules/boot/greeter/sddm.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
22
modules/boot/loader/systemd.nix
Normal file
22
modules/boot/loader/systemd.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue