60 lines
1.8 KiB
Nix
60 lines
1.8 KiB
Nix
# 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 + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
boot.supportedFilesystems = [ "nfs" ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/mapper/luks-0e11cc3f-cf15-42a3-8356-12780ac991f6";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
boot.initrd.luks.devices."luks-0e11cc3f-cf15-42a3-8356-12780ac991f6".device = "/dev/disk/by-uuid/0e11cc3f-cf15-42a3-8356-12780ac991f6";
|
||
|
||
fileSystems."/mnt/zeruel/nas1" =
|
||
{ device = "zeruel.fuku:/mnt/pool1/nas1/";
|
||
fsType = "nfs";
|
||
options = [ "x-systemd.automount" ];
|
||
};
|
||
|
||
fileSystems."/mnt/zeruel/vods" =
|
||
{ device = "zeruel.fuku:/mnt/vods";
|
||
fsType = "nfs";
|
||
options = [ "x-systemd.automount" ];
|
||
};
|
||
|
||
fileSystems."/mnt/windoze" =
|
||
{ device = "/dev/disk/by-uuid/46B01460B01458AF";
|
||
fsType = "ntfs-3g";
|
||
options = [ "rw" "uid=1000" "x-gvfs-show"];
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/0362-9D53";
|
||
fsType = "vfat";
|
||
options = [ "fmask=0077" "dmask=0077" ];
|
||
};
|
||
|
||
fileSystems."/mnt/windoze2" =
|
||
{ device = "/dev/disk/by-uuid/6084BE5384BE2B82";
|
||
fsType = "ntfs-3g";
|
||
options = [ "rw" "uid=1000" "x-gvfs-show"];
|
||
};
|
||
|
||
swapDevices =
|
||
[ { device = "/dev/mapper/luks-7565ba12-2da3-4933-adec-8d62e81afe52"; }
|
||
];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|