dotfiles/curacao/hardware.nix

25 lines
575 B
Nix
Raw Normal View History

2024-01-05 18:42:21 +01:00
{ lib, nixos-hardware, ... }:
{
2023-11-30 19:01:55 +01:00
# UEFI works here, and variables can be touched
boot.loader = {
efi.canTouchEfiVariables = lib.mkDefault true;
grub = {
enable = true;
efiSupport = true;
device = "nodev"; # Don't install on MBR
# TODO Maybe we could? In case the HDD doesn't boot anymore?
2023-11-30 19:01:55 +01:00
};
};
2024-02-17 18:39:09 +01:00
frogeye.desktop = {
x11_screens = [ "HDMI-1-0" "eDP-1" ];
maxVideoHeight = 1440;
numlock = true;
phasesBrightness = {
enable = true;
jour = "40000";
crepuscule = "10000";
nuit = "1";
};
};
}