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 = [
|
boot.supportedFilesystems = [
|
||||||
"hfsplus"
|
"hfsplus"
|
||||||
"exfat"
|
"exfat"
|
||||||
|
"bcachefs"
|
||||||
|
"xfs"
|
||||||
];
|
];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/7952dca8-005b-444c-a1eb-ecfbb5c053b2";
|
# TODO: mkfs.bcachefs UUID
|
||||||
fsType = "ext4";
|
device = "/dev/disk/by-uuid/REPLACE-ME-BCACHEFS-ROOT-UUID";
|
||||||
|
fsType = "bcachefs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/HDD/shared" = {
|
fileSystems."/mnt/HDD/shared" = {
|
||||||
@@ -47,8 +50,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/HDD/linuxdata" = {
|
fileSystems."/mnt/HDD/linuxdata" = {
|
||||||
device = "/dev/disk/by-uuid/f7e27b90-ce06-48bb-b579-d93b1398b21f";
|
# TODO: mkfs.xfs UUID
|
||||||
fsType = "ext4";
|
device = "/dev/disk/by-uuid/REPLACE-ME-XFS-LINUXDATA-UUID";
|
||||||
|
fsType = "xfs";
|
||||||
options = [
|
options = [
|
||||||
"defaults"
|
"defaults"
|
||||||
"nofail"
|
"nofail"
|
||||||
|
|||||||
@@ -8,26 +8,18 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
environment.systemPackages = [ pkgs.efibootmgr ];
|
environment.systemPackages = [ pkgs.efibootmgr ];
|
||||||
|
|
||||||
nixpkgs.overlays = [ inputs.nix-cachyos-kernel.overlays.pinned ];
|
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 ..
|
# todo soryu kernel, opsec modules ..
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"mitigations=off"
|
"mitigations=off"
|
||||||
"nmi_watchdog=1"
|
"nmi_watchdog=1"
|
||||||
"transparent_hugepage=madvise"
|
"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 = [
|
boot.kernelModules = [
|
||||||
"tcp_bbr"
|
"tcp_bbr"
|
||||||
"sch_fq"
|
"sch_fq"
|
||||||
"ramoops"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
|
|||||||
Reference in new issue
Block a user