before npins

This commit is contained in:
atagen 2025-04-06 23:50:50 +10:00
parent d429476553
commit 63fbd6d499
22 changed files with 627 additions and 330 deletions

View file

@ -2,6 +2,8 @@
config,
lib,
pkgs,
inputs,
rice,
...
}:
{
@ -33,23 +35,24 @@
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.initrd.verbose = false;
boot.kernelModules = [
"kvm-amd"
"i2c-dev"
];
boot.consoleLogLevel = 0;
boot.kernelParams = [
"mitigations=off"
# "acpi_enforce_resources=lax"
"preempt=full"
"quiet"
"loglevel=3"
"systemd.show_status=auto"
"systemd.show_status=off"
"rd.udev.log_level=3"
"vt.global_cursor_default=0"
];
boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linuxPackages_cachyos;
# pkgs.linuxPackages_xanmod_latest;
# pkgs.linuxPackages_xanmod_latest;
boot.supportedFilesystems = {
ntfs = true;
btrfs = true;
@ -58,6 +61,11 @@
boot.loader.systemd-boot.configurationLimit = 5;
boot.loader.efi.canTouchEfiVariables = true;
boot.plymouth = {
enable = true;
inherit (rice.plymouth) theme themePackages font;
};
security.tpm2.enable = true;
networking.useDHCP = lib.mkDefault true;
@ -170,7 +178,8 @@
};
services.open-webui = {
enable = false;
package = inputs.nixpkgs-stable.legacyPackages.x86_64-linux.open-webui;
enable = true;
port = 8088;
environment = {
DO_NOT_TRACK = "True";