chore(tazjin/arbat): import post-install config updates
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>
This commit is contained in:
parent
6414aad6d8
commit
122f0cf1be
1 changed files with 14 additions and 8 deletions
|
@ -16,7 +16,6 @@ in
|
||||||
(usermod "chromium.nix")
|
(usermod "chromium.nix")
|
||||||
(usermod "desktop.nix")
|
(usermod "desktop.nix")
|
||||||
(usermod "fonts.nix")
|
(usermod "fonts.nix")
|
||||||
# (usermod "hidpi.nix") # TODO(tazjin): not sure yet
|
|
||||||
(usermod "home-config.nix")
|
(usermod "home-config.nix")
|
||||||
(usermod "laptop.nix")
|
(usermod "laptop.nix")
|
||||||
(usermod "persistence.nix")
|
(usermod "persistence.nix")
|
||||||
|
@ -26,12 +25,13 @@ in
|
||||||
|
|
||||||
tvl.cache.enable = true;
|
tvl.cache.enable = true;
|
||||||
|
|
||||||
# TODO(tazjin): hardware settings; boot settings
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
supportedFilesystems = [ "zfs" ];
|
supportedFilesystems = [ "zfs" ];
|
||||||
zfs.devNodes = "/dev/";
|
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 = {
|
networking = {
|
||||||
|
@ -47,16 +47,22 @@ in
|
||||||
"/nix" = zdevice "zpool/persistent/nix";
|
"/nix" = zdevice "zpool/persistent/nix";
|
||||||
"/depot" = zdevice "zpool/persistent/depot";
|
"/depot" = zdevice "zpool/persistent/depot";
|
||||||
|
|
||||||
# "/boot" = {
|
"/boot" = {
|
||||||
# device = "/dev/disk/by-uuid/2487-3908";
|
device = "/dev/disk/by-uuid/B3B5-92F7";
|
||||||
# fsType = "vfat";
|
fsType = "vfat";
|
||||||
# };
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware = {
|
||||||
|
enableRedistributableFirmware = true;
|
||||||
|
opengl.enable = true;
|
||||||
|
bluetooth.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO(tazjin): decide on this
|
# TODO(tazjin): decide on this
|
||||||
# services.xserver.libinput.touchpad.clickMethod = "clickfinger";
|
# services.xserver.libinput.touchpad.clickMethod = "clickfinger";
|
||||||
# services.xserver.libinput.touchpad.tapping = false;
|
# services.xserver.libinput.touchpad.tapping = false;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue