some small changes and etc

This commit is contained in:
Matt Nish-Lapidus 2025-02-21 22:59:53 -05:00
parent d9be121700
commit 8067765fec
3 changed files with 54 additions and 32 deletions

View file

@ -64,26 +64,44 @@
i18n.defaultLocale = "en_CA.UTF-8";
console = {
earlySetup = true;
colors = with pkgs.lib.nix-rice;
let theme = palette.toRgbShortHex pkgs.rice.colorPalette;
in
with theme; [
normal.black
normal.red
normal.green
normal.yellow
normal.blue
normal.magenta
normal.cyan
normal.white
bright.black
bright.red
bright.green
bright.yellow
bright.blue
bright.magenta
bright.cyan
bright.white
# normal.black
# normal.red
# normal.green
# normal.yellow
# normal.blue
# normal.magenta
# normal.cyan
# normal.white
# bright.black
# bright.red
# bright.green
# bright.yellow
# bright.blue
# bright.magenta
# bright.cyan
# bright.white
"282c34"
"353b45"
"3e4451"
"545862"
"565c64"
"abb2bf"
"b6bdca"
"c8ccd4"
"e06c75"
"d19a66"
"e5c07b"
"98c379"
"56b6c2"
"61afef"
"c678dd"
"be5046"
];
};
@ -121,12 +139,15 @@
# Bootloader.
boot = {
loader = {
systemd-boot.enable = true;
systemd-boot.configurationLimit = 8;
systemd-boot = {
enable = true;
configurationLimit = 8;
consoleMode = "max";
};
efi.canTouchEfiVariables = true;
};
kernelPackages = pkgs.linuxPackages_latest;
kernelModules = [ "i2c-dev" "ddcci-backlight" "amd_3d_vcache" "uinput" ];
kernelModules = [ "i2c-dev" "ddcci-backlight" "amd_3d_vcache" "uinput" "amd_pstate=active" ];
extraModulePackages = with config.boot.kernelPackages; [ ddcci-driver ];
initrd.systemd.enable = true;
initrd.kernelModules = [
@ -179,6 +200,8 @@
pkgs.alsa-firmware
];
amdgpu.initrd.enable = true;
nvidia = {
open = true;
# Modesetting is required.