snowflake/hosts/hime/hardware-configuration.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2023-01-31 11:58:43 -05:00
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/154e6059-35f9-49bb-b049-085b325ac997";
fsType = "ext4";
};
2023-02-16 23:23:43 -05:00
fileSystems."/home/oh/nas" =
2023-02-17 00:04:54 -05:00
{ device = "192.168.1.71:/volume1/hime";
2023-02-16 23:23:43 -05:00
fsType = "nfs";
};
2023-02-25 03:52:37 -05:00
fileSystems."/home/oh/docker/nextcloud" =
{ device = "192.168.1.71:/volume1/nextcloud";
fsType = "nfs";
};
fileSystems."/home/oh/docker/stash/data" =
{ device = "192.168.1.71:/volume1/stash";
fsType = "nfs";
};
2023-01-31 11:58:43 -05:00
swapDevices =
[ { device = "/dev/disk/by-uuid/15978bb3-da9b-4ec2-bd35-1716dd97812b"; }
];
networking.useDHCP = lib.mkDefault true;
2023-01-31 12:00:20 -05:00
2023-01-31 11:58:43 -05:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}