NixOS-Config/hosts/shuttleworth/system/hardware/default.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

2024-10-16 01:21:11 -04:00
{ config, lib, pkgs, modulesPath, ... }:
2024-09-22 14:46:51 -04:00
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
initrd = {
availableKernelModules = [ ];
kernelModules = [ ];
};
blacklistedKernelModules = [
"pcspkr"
];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/25738e24-385e-4bcf-bff5-d0e6274003b6";
fsType = "btrfs";
};
"/boot" = {
device = "/dev/disk/by-uuid/01D2-E962";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
2024-09-22 18:10:21 -04:00
"/home/jimbo/Downloads" = {
2024-09-22 17:11:05 -04:00
device = "/dev/disk/by-uuid/f0b6cf4e-9576-4ab5-96ae-2a7e57599a35";
fsType = "btrfs";
};
2024-09-23 17:01:02 -04:00
"/home/jimbo/JimboNFS" = {
2024-10-16 01:21:11 -04:00
device = "${config.ips.wgSpan}.1:/export/JimboNFS";
2024-09-23 17:01:02 -04:00
fsType = "nfs4";
options = ["x-systemd.automount" "_netdev" "nofail" "noauto"];
};
2024-09-22 14:46:51 -04:00
};
swapDevices = [
{ device = "/dev/disk/by-uuid/95c43e5a-b53d-41fd-99a3-54181510070e"; }
];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
}