diff options
author | Vincent Ambo <mail@tazj.in> | 2024-06-09T16·58+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-06-09T17·56+0000 |
commit | 122f0cf1be22b250e32b45a6fefb61c1617b86d1 (patch) | |
tree | dba10e238532286d79d4b993acb4f46eb924b51a /users/tazjin | |
parent | 6414aad6d84fe675e8cc032dada829a00a54e619 (diff) |
chore(tazjin/arbat): import post-install config updates r/8232
hardware settings & friends Change-Id: I404814e56d279b92db2d8cde3bd161c08b9f855f Reviewed-on: https://cl.tvl.fyi/c/depot/+/11770 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin')
-rw-r--r-- | users/tazjin/nixos/arbat/default.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/users/tazjin/nixos/arbat/default.nix b/users/tazjin/nixos/arbat/default.nix index ade80e7c90e7..924fb468aff8 100644 --- a/users/tazjin/nixos/arbat/default.nix +++ b/users/tazjin/nixos/arbat/default.nix @@ -16,7 +16,6 @@ in (usermod "chromium.nix") (usermod "desktop.nix") (usermod "fonts.nix") - # (usermod "hidpi.nix") # TODO(tazjin): not sure yet (usermod "home-config.nix") (usermod "laptop.nix") (usermod "persistence.nix") @@ -26,12 +25,13 @@ in tvl.cache.enable = true; - # TODO(tazjin): hardware settings; boot settings - boot = { loader.systemd-boot.enable = true; supportedFilesystems = [ "zfs" ]; zfs.devNodes = "/dev/"; + # TODO: double-check this list + initrd.availableKernelModules = [ "ahci" "uhci_hcd" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_usb_sdmmc" ]; + kernelModules = [ "kvm-intel" ]; # interesting }; networking = { @@ -47,16 +47,22 @@ in "/nix" = zdevice "zpool/persistent/nix"; "/depot" = zdevice "zpool/persistent/depot"; - # "/boot" = { - # device = "/dev/disk/by-uuid/2487-3908"; - # fsType = "vfat"; - # }; + "/boot" = { + device = "/dev/disk/by-uuid/B3B5-92F7"; + fsType = "vfat"; + }; + }; + + hardware = { + enableRedistributableFirmware = true; + opengl.enable = true; + bluetooth.enable = true; }; # TODO(tazjin): decide on this # services.xserver.libinput.touchpad.clickMethod = "clickfinger"; # services.xserver.libinput.touchpad.tapping = false; - + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; system.stateVersion = "24.11"; } |