From d27148fc0fac10fd36a10c5217e6122455ca5e4c Mon Sep 17 00:00:00 2001 From: elwrcl Date: Mon, 24 Aug 2026 02:52:00 +0300 Subject: [PATCH] fs --- hosts/copland-hardware.nix | 12 ++++++++---- modules/nixos/common/common-boot.ulu.nix | 10 +--------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/hosts/copland-hardware.nix b/hosts/copland-hardware.nix index c4eee61..23db79c 100644 --- a/hosts/copland-hardware.nix +++ b/hosts/copland-hardware.nix @@ -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" diff --git a/modules/nixos/common/common-boot.ulu.nix b/modules/nixos/common/common-boot.ulu.nix index 4450f88..a18dedf 100644 --- a/modules/nixos/common/common-boot.ulu.nix +++ b/modules/nixos/common/common-boot.ulu.nix @@ -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 = {