{ config, lib, pkgs, ... }: { fileSystems = { "/boot" = { label = "boot"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; "/.bcachefs" = { label = "sif"; fsType = "bcachefs"; neededForBoot = true; }; "/nix" = { device = "/.bcachefs/nix"; fsType = "none"; options = [ "bind" ]; }; "/root" = { device = "/.bcachefs/root"; fsType = "none"; options = [ "bind" ]; }; "/var/log" = { device = "/.bcachefs/var/log"; fsType = "none"; options = [ "bind" ]; }; "/var/lib/sops-nix" = { device = "/.bcachefs/var/lib/sops-nix"; fsType = "none"; options = [ "bind" ]; neededForBoot = true; }; "/var/lib/nixos" = { device = "/.bcachefs/var/lib/nixos"; fsType = "none"; options = [ "bind" ]; neededForBoot = true; }; "/var/lib/chrony" = { device = "/.bcachefs/var/lib/chrony"; fsType = "none"; options = [ "bind" ]; }; "/var/lib/systemd" = { device = "/.bcachefs/var/lib/systemd"; fsType = "none"; options = [ "bind" ]; neededForBoot = true; }; "/home" = { device = "/.bcachefs/home"; fsType = "none"; options = [ "bind" ]; }; }; swapDevices = [ { label = "swap"; } ]; nix.settings.max-jobs = 12; # High-DPI console console.font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz"; hardware.cpu.intel.updateMicrocode = true; hardware.enableRedistributableFirmware = true; }