55 lines
1.5 KiB
Nix
55 lines
1.5 KiB
Nix
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
fileSystems."/" =
|
|
{ device = "/dev/disk/by-uuid/07b5dda3-2fcd-494b-893c-72301d637e9a";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" =
|
|
{ device = "/dev/disk/by-uuid/04FD-A91D";
|
|
fsType = "vfat";
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|
};
|
|
|
|
|
|
fileSystems."/mnt/zeruel/nas1" =
|
|
{ device = "zeruel.fuku:/mnt/pool1/nas1";
|
|
fsType = "nfs";
|
|
options = [ "x-systemd.automount" "noauto" ];
|
|
};
|
|
|
|
fileSystems."/mnt/zeruel/dcsi" =
|
|
{ device = "zeruel.fuku:/mnt/pool1/dcsi";
|
|
fsType = "nfs";
|
|
options = [ "x-systemd.automount" "noauto" ];
|
|
};
|
|
|
|
fileSystems."/mnt/windoze2" =
|
|
{ device = "/dev/disk/by-uuid/6084BE5384BE2B82";
|
|
fsType = "ntfs-3g";
|
|
options = [ "rw" "uid=1000"];
|
|
};
|
|
fileSystems."/mnt/windoze" =
|
|
{ device = "/dev/disk/by-uuid/46B01460B01458AF";
|
|
fsType = "ntfs-3g";
|
|
options = [ "rw" "uid=1000"];
|
|
};
|
|
swapDevices =
|
|
[ { device = "/dev/disk/by-uuid/03ecd98d-013f-4476-b43a-bcae0bc1de67"; }
|
|
];
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
# Set your system kind (needed for flakes)
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|