eva-01 using btrfs, nixvim fixes, flake updates
This commit is contained in:
@@ -71,6 +71,18 @@
|
||||
intel-vaapi-driver
|
||||
];
|
||||
|
||||
# Btrfs filesystem
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
interval = "weekly";
|
||||
fileSystems = ["/"];
|
||||
};
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
# 11th Gen Intel Tiger Lake performance fix
|
||||
"dev.i915.perf_stream_paranoid" = 0;
|
||||
};
|
||||
|
||||
networking.hostName = "eva-01"; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
@@ -266,6 +278,7 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
# System-level only
|
||||
fprintd
|
||||
btrfs-progs
|
||||
];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
|
||||
@@ -13,13 +13,14 @@
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "uas" "sd_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.initrd.kernelModules = ["btrfs"];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/0ec1b4fd-ca0f-4938-a038-37a69ec00b21";
|
||||
fsType = "ext4";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" "compress=zstd" "discard=async" "noatime" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
user = "rogueking";
|
||||
#onActivation.autoUpdate = true;
|
||||
brews = [
|
||||
"aria2"
|
||||
"docker"
|
||||
"ckan"
|
||||
"esptool"
|
||||
|
||||
Reference in New Issue
Block a user