mirror of
https://github.com/blahai/nyx.git
synced 2025-06-16 05:23:03 -04:00
All this just to get nyx to even build
This commit is contained in:
parent
ed1aafe645
commit
fdfd4e0434
24 changed files with 2272 additions and 0 deletions
21
modules/nixos/boot/loader/systemd-boot.nix
Normal file
21
modules/nixos/boot/loader/systemd-boot.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf mkDefault;
|
||||
inherit (lib.attrsets) optionalAttrs;
|
||||
inherit (lib.options) mkEnableOption mkPackageOption;
|
||||
|
||||
cfg = config.olympus.system.boot;
|
||||
in {
|
||||
config = mkIf (cfg.loader == "systemd-boot") {
|
||||
boot.loader.systemd-boot = {
|
||||
enable = mkDefault true;
|
||||
configurationLimit = 5;
|
||||
consoleMode = "max";
|
||||
editor = false;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue