tweaked bootloader in core/display.nix
This commit is contained in:
parent
e295f0b5ef
commit
6ef18fbd4b
2 changed files with 19 additions and 4 deletions
|
|
@ -1,7 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, label, version, ... }:
|
||||
|
||||
{
|
||||
|
||||
system = {
|
||||
nixos = {
|
||||
label = "${version}";
|
||||
variantName = "${label}";
|
||||
};
|
||||
};
|
||||
|
||||
boot = {
|
||||
bootspec.enable = true;
|
||||
consoleLogLevel = 0;
|
||||
|
|
@ -21,13 +28,15 @@
|
|||
loader = {
|
||||
timeout = 5;
|
||||
grub = {
|
||||
configurationName = "${version}";
|
||||
#theme = "${pkgs.minimal-grub-theme}";
|
||||
#backgroundColor = "#000000";
|
||||
#font = "${pkgs.spleen}/share/fonts/spleen-32x64";
|
||||
#fontSize = 16;
|
||||
splashImage = null;
|
||||
timeoutStyle = "hidden";
|
||||
extraConfig = ''
|
||||
set timeout_style=hidden
|
||||
GRUB_FORCE_HIDDEN_MENU=true
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
10
flake.nix
10
flake.nix
|
|
@ -41,7 +41,7 @@
|
|||
#
|
||||
#
|
||||
{
|
||||
description = "SerenityOS v0.8.8"; # proper versioning system before v1.0.0?
|
||||
description = "SerenityOS v0.8.9";
|
||||
## Latest features:
|
||||
## - Exposed large portions of `home/` import path
|
||||
## - Abandoned multi-user support for now
|
||||
|
|
@ -125,8 +125,10 @@
|
|||
inherit (self) outputs;
|
||||
|
||||
## Universal variable declarations
|
||||
label = "SerenityOS";
|
||||
version = "SerenityOS v0.8.9"; # proper versioning system before v1.0.0?
|
||||
primaryUser = "serenity"; # used for admin purposes
|
||||
homeDir = "/home/${primaryUser}"; # for easy configuration
|
||||
homeDir = "/home/${primaryUser}/"; # for easy configuration
|
||||
disksPath = "${homeDir}/Disks/";
|
||||
flakePath = "${homeDir}/flakes/nixdots/"; # current path to flake
|
||||
#flakePath = "${homeDir}/SerenityOS/"; # for v1.0.0 release
|
||||
|
|
@ -140,6 +142,7 @@
|
|||
format = "install-iso";
|
||||
specialArgs = {
|
||||
inherit inputs outputs;
|
||||
inherit label version;
|
||||
inherit flakePath disksPath;
|
||||
inherit primaryUser homeDir;
|
||||
};
|
||||
|
|
@ -159,6 +162,7 @@
|
|||
hades = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs outputs;
|
||||
inherit label version;
|
||||
inherit flakePath disksPath;
|
||||
inherit primaryUser homeDir;
|
||||
};
|
||||
|
|
@ -174,6 +178,7 @@
|
|||
orcus = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs outputs;
|
||||
inherit label version;
|
||||
inherit flakePath disksPath;
|
||||
inherit primaryUser homeDir;
|
||||
};
|
||||
|
|
@ -188,6 +193,7 @@
|
|||
persephone = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs outputs;
|
||||
inherit label version;
|
||||
inherit flakePath disksPath;
|
||||
inherit primaryUser homeDir;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue