aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/by-name/apzu
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/by-name/apzu')
-rw-r--r--hosts/by-name/apzu/configuration.nix5
-rw-r--r--hosts/by-name/apzu/hardware.nix6
2 files changed, 11 insertions, 0 deletions
diff --git a/hosts/by-name/apzu/configuration.nix b/hosts/by-name/apzu/configuration.nix
index e238882d..9e5d97f0 100644
--- a/hosts/by-name/apzu/configuration.nix
+++ b/hosts/by-name/apzu/configuration.nix
@@ -24,8 +24,13 @@
"/var/log"
];
+ power.enable = true;
+
programs = {
+ starship.showBattery = true;
+
ly.batteryName = "BAT0";
+
river.init = {
mappings = {
layout = "dvorak-modified";
diff --git a/hosts/by-name/apzu/hardware.nix b/hosts/by-name/apzu/hardware.nix
index 70b041e7..d037473a 100644
--- a/hosts/by-name/apzu/hardware.nix
+++ b/hosts/by-name/apzu/hardware.nix
@@ -33,6 +33,12 @@
boot = {
kernelModules = ["kvm-intel" "rtw89"];
+ kernelParams = [
+ # Use the newer experimental xe driver
+ # "i915.force_probe=!9a49"
+ # "xe.force_probe=9a49"
+ ];
+
initrd.availableKernelModules = ["xhci_pci" "vmd" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
};
}