mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
fs
This commit is contained in:
2 files changed
+9
-13
No files matched your search
@@ -25,12 +25,15 @@
|
||||
boot.supportedFilesystems = [
|
||||
"hfsplus"
|
||||
"exfat"
|
||||
"bcachefs"
|
||||
"xfs"
|
||||
];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/7952dca8-005b-444c-a1eb-ecfbb5c053b2";
|
||||
fsType = "ext4";
|
||||
# TODO: mkfs.bcachefs UUID
|
||||
device = "/dev/disk/by-uuid/REPLACE-ME-BCACHEFS-ROOT-UUID";
|
||||
fsType = "bcachefs";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/HDD/shared" = {
|
||||
@@ -47,8 +50,9 @@
|
||||
};
|
||||
|
||||
fileSystems."/mnt/HDD/linuxdata" = {
|
||||
device = "/dev/disk/by-uuid/f7e27b90-ce06-48bb-b579-d93b1398b21f";
|
||||
fsType = "ext4";
|
||||
# TODO: mkfs.xfs UUID
|
||||
device = "/dev/disk/by-uuid/REPLACE-ME-XFS-LINUXDATA-UUID";
|
||||
fsType = "xfs";
|
||||
options = [
|
||||
"defaults"
|
||||
"nofail"
|
||||
|
||||
@@ -8,26 +8,18 @@
|
||||
}:
|
||||
{
|
||||
environment.systemPackages = [ pkgs.efibootmgr ];
|
||||
|
||||
nixpkgs.overlays = [ inputs.nix-cachyos-kernel.overlays.pinned ];
|
||||
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-bore-lto;
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
# todo soryu kernel, opsec modules ..
|
||||
boot.kernelParams = [
|
||||
"mitigations=off"
|
||||
"nmi_watchdog=1"
|
||||
"transparent_hugepage=madvise"
|
||||
"reserve_mem=4M:4096:oops"
|
||||
"ramoops.mem_name=oops"
|
||||
"ramoops.record_size=262144"
|
||||
"ramoops.console_size=1048576"
|
||||
"ramoops.pmsg_size=65536"
|
||||
"ramoops.ecc=1"
|
||||
];
|
||||
|
||||
boot.kernelModules = [
|
||||
"tcp_bbr"
|
||||
"sch_fq"
|
||||
"ramoops"
|
||||
];
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
|
||||
Reference in new issue
Block a user