Re-add variants and reorganize things

This commit is contained in:
Geoffrey Frogeye 2024-02-17 18:39:09 +01:00
parent bf803d18a6
commit 8476bbde12
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
18 changed files with 136 additions and 83 deletions

View file

@ -6,24 +6,29 @@
# Otherwise it will not show stage1 echo and prompt
# UPST
kernelParams = ["console=tty0"];
kernelParams = [ "console=tty0" ];
# Pinebook supports UEFI, at least when tow-boot is installed on the SPI
loader = {
# EFI Variables don't work (no generation appears in systemd-boot)
efi.canTouchEfiVariables = false;
# systemd-boot crashes after booting, so GRUB it is
grub = {
enable = true;
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
grub.efiInstallAsRemovable = true;
};
};
zramSwap = { # Not capable of building itself otherwise
frogeye.desktop = {
x11_screens = [ "DP-1" "eDP-1" ];
maxVideoHeight = 720;
phasesBrightness = {
enable = true;
jour = "3500";
crepuscule = "3000";
nuit = "700";
};
};
zramSwap = {
# Not capable of building itself otherwise
enable = true;
memoryPercent = 150; # Factory settings
};