dotfiles/pindakaas/hardware.nix

35 lines
862 B
Nix
Raw Normal View History

{ pkgs, config, ... }:
2023-10-28 22:09:36 +02:00
{
2023-11-28 00:34:30 +01:00
boot = {
# nixos-hardware use latest kernel by default. It has been set a while ago, we maybe don't need it anymore?
kernelPackages = pkgs.linuxPackages;
# Otherwise it will not show stage1 echo and prompt
2023-11-30 19:01:55 +01:00
# UPST
2024-02-17 18:39:09 +01:00
kernelParams = [ "console=tty0" ];
2024-02-17 23:35:53 +01:00
# EFI Variables don't seem to work (no generation appear in systemd-boot with SD)
loader.efi.canTouchEfiVariables = false;
2024-02-17 18:39:09 +01:00
};
2023-11-28 00:34:30 +01:00
2024-02-17 18:39:09 +01:00
frogeye.desktop = {
x11_screens = [ "DP-1" "eDP-1" ];
maxVideoHeight = 720;
phasesBrightness = {
enable = true;
jour = "3500";
crepuscule = "3000";
nuit = "700";
2023-11-28 00:34:30 +01:00
};
};
2024-02-17 18:39:09 +01:00
zramSwap = {
# Not capable of building itself otherwise
2023-12-22 19:57:09 +01:00
enable = true;
2023-12-22 20:49:09 +01:00
memoryPercent = 150; # Factory settings
2023-12-22 19:57:09 +01:00
};
2023-12-22 20:20:36 +01:00
# Fixes black font on Alacritty
environment.variables.PAN_MESA_DEBUG = "gl3";
2023-10-28 22:09:36 +02:00
}