infrastructure/configuration/hosts/samhain/hardware-configuration.nix
kat witch 384c40f7ac Changed Rust to use rustup instead of using Nix provided cargo+rustc for VSCode compatibility.
Samhain has been adjusted for automounts and to provide transmission+SMB for /disks/BigEXT instead of for /var/lib/transmission/Downloads which was residing on the SSD.
2020-11-22 09:56:50 +00:00

45 lines
1.2 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 =
[ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "zroot/safe/root";
fsType = "zfs";
};
fileSystems."/home" = {
device = "zroot/safe/home";
fsType = "zfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/50C3-BE99";
fsType = "vfat";
};
fileSystems."/disks/BigExfat" =
{ device = "/dev/disk/by-uuid/5F0E-F368";
fsType = "exfat";
};
fileSystems."/disks/BigEXT" =
{ device = "/dev/disk/by-uuid/f9797766-59d6-4fca-9a2a-7bade7f57291";
fsType = "ext4";
};
boot.initrd.luks.devices."mewmapper".device = "/dev/disk/by-uuid/2802caf9-2dd6-4365-a022-f1359911a1db";
swapDevices =
[{ device = "/dev/disk/by-uuid/88595373-9566-401b-8c9b-03bbc8314f1b"; }];
}