bcachefs
This commit is contained in:
parent
f561177af5
commit
8d086ffcca
10 changed files with 5545 additions and 37 deletions
|
|
@ -66,42 +66,21 @@
|
|||
'';
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.initrd.availableKernelModules = [
|
||||
"nvme"
|
||||
"sd_mod"
|
||||
"thunderbolt"
|
||||
"usb_storage"
|
||||
"xhci_pci"
|
||||
"usbhid"
|
||||
"uas"
|
||||
];
|
||||
# boot.initrd.availableKernelModules = [
|
||||
# "nvme"
|
||||
# "sd_mod"
|
||||
# "thunderbolt"
|
||||
# "usb_storage"
|
||||
# "xhci_pci"
|
||||
# "usbhid"
|
||||
# "uas"
|
||||
# ];
|
||||
boot.kernelParams = [
|
||||
"amdgpu.abmlevel=1"
|
||||
];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
# boot.kernelModules = ["kvm-amd"];
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
systemd.sleep.extraConfig = "HibernateDelaySec=360m";
|
||||
|
||||
fileSystems."/home/tao/games" = {
|
||||
device = "/dev/disk/by-uuid/d97a81dc-669c-41d1-912b-829f88fd6f69";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=/home/tao/games" "nosuid" "nodev" "noatime" "compress-force=zstd:3" "users" "rw" "exec" "discard=async"];
|
||||
};
|
||||
fileSystems."/home" = {
|
||||
device = "/dev/disk/by-uuid/d97a81dc-669c-41d1-912b-829f88fd6f69";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=home" "noatime" "compress-force=zstd:3" "discard=async"];
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/d97a81dc-669c-41d1-912b-829f88fd6f69";
|
||||
fsType = "btrfs";
|
||||
options = ["noatime" "compress-force=zstd:3" "discard=async"];
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/8E28-E53F";
|
||||
fsType = "vfat";
|
||||
};
|
||||
swapDevices = [{device = "/dev/disk/by-uuid/36216521-db46-4bb0-8994-38a36d5c4528";}];
|
||||
|
||||
networking.hostName = "NOlaptop";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue