mochi/nixos/hosts/legiondary/default.nix

56 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2024-06-21 12:55:52 -05:00
# 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.
2024-06-23 09:38:07 -05:00
{ config, lib, modulesPath, ... }:
2024-06-21 12:55:52 -05:00
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
networking.hostId = "2132e3bf";
networking.hostName = "legiondary";
2024-06-23 09:38:07 -05:00
boot = {
initrd.availableKernelModules = [ "xhci_pci" "nvme" "ahci" "usb_storage" "usbhid" "sd_mod" ];
initrd.kernelModules = [ ];
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
};
2024-06-21 12:55:52 -05:00
fileSystems."/" =
2024-06-24 14:15:52 -05:00
{ device = "zroot/root";
2024-06-21 12:55:52 -05:00
fsType = "zfs";
};
2024-06-20 13:03:44 -05:00
2024-06-21 12:55:52 -05:00
fileSystems."/nix" =
2024-06-24 14:15:52 -05:00
{ device = "zroot/nix";
2024-06-21 12:55:52 -05:00
fsType = "zfs";
};
2024-06-20 13:03:44 -05:00
2024-06-21 12:55:52 -05:00
fileSystems."/var" =
2024-06-24 14:15:52 -05:00
{ device = "zroot/var";
2024-06-21 12:55:52 -05:00
fsType = "zfs";
};
2024-06-20 13:03:44 -05:00
2024-06-21 12:55:52 -05:00
fileSystems."/home" =
2024-06-24 14:15:52 -05:00
{ device = "zroot/home";
2024-06-21 12:55:52 -05:00
fsType = "zfs";
};
2024-06-20 13:03:44 -05:00
# fileSystems."/boot" =
# { device = "/dev/disk/by-uuid/E532-B74A";
# fsType = "vfat";
# options = [ "fmask=0022" "dmask=0022" ];
# };
2024-06-20 13:03:44 -05:00
2024-06-21 12:55:52 -05:00
swapDevices = [ ];
2024-06-20 13:03:44 -05:00
2024-06-21 12:55:52 -05:00
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2024-06-20 13:03:44 -05:00
2024-06-23 09:38:07 -05:00
# System settings and services.
2024-06-21 12:55:52 -05:00
mySystem = {
2024-07-01 13:55:29 -05:00
purpose = "Development";
2024-06-21 12:55:52 -05:00
system.motd.networkInterfaces = [ "eno1" "wlp4s0" ];
2024-06-20 13:03:44 -05:00
};
}