Simplify Midas and move virtual raid config to system wide filesystems conf
This commit is contained in:
parent
2d61e291a9
commit
06f1990997
5 changed files with 12 additions and 12 deletions
|
@ -2,10 +2,6 @@
|
|||
{
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_hardened;
|
||||
swraid = {
|
||||
enable = true;
|
||||
mdadmConf = "MAILADDR contact@nixfox.ca";
|
||||
};
|
||||
lanzaboote.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
options = [ "subvol=persist" "compress=zstd" "noatime" ];
|
||||
};
|
||||
"/kitty" = {
|
||||
device = "10.2.0.2:/storage/BunStore";
|
||||
device = "10.2.0.2:/storage/bun";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
networking.nftables.tables.forwarding = {
|
||||
family = "inet";
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{ config, lib, modulesPath, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue