change to btrfs on mc4

This commit is contained in:
mc-fucker 2021-11-22 00:08:49 +01:00
parent 850294a100
commit 1fc9b853d1

View file

@ -1,18 +1,37 @@
{ modulesPath, ... }:
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "usbhid" ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/7081c92b-d474-49d9-a3d5-8285e7b92b62";
fsType = "btrfs";
options = [ "compress-force=zstd:7" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C2EB-7223";
fsType = "vfat";
};
swapDevices = [ ];
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
fileSystems."/boot" = { device = "/dev/disk/by-uuid/C2EB-7223"; fsType = "vfat"; };
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/sda3"; fsType = "xfs"; };
networking = {
useDHCP = false;
interfaces.enp0s3.useDHCP = true;
hostName = "mc4";
};
}
# vim: set et ts=2 sw=2 ai: