2024-07-10 12:06:41 -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.
|
|
|
|
|
{ config, lib, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
networking.hostId = "4488bd1a";
|
|
|
|
|
networking.hostName = "telchar";
|
|
|
|
|
boot = {
|
|
|
|
|
initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ];
|
|
|
|
|
initrd.kernelModules = [ ];
|
|
|
|
|
kernelModules = [ "kvm-amd" ];
|
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "zroot/root";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/nix" = {
|
|
|
|
|
device = "zroot/nix";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/var" = {
|
|
|
|
|
device = "zroot/var";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/home" = {
|
|
|
|
|
device = "zroot/home";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
2024-07-17 11:21:21 -05:00
|
|
|
|
virtualisation.docker.enable = true;
|
2024-07-10 12:06:41 -05:00
|
|
|
|
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
# System settings and services.
|
|
|
|
|
mySystem = {
|
|
|
|
|
purpose = "Development";
|
|
|
|
|
system.motd.networkInterfaces = [ "wlp1s0" ];
|
2024-07-29 02:32:10 -05:00
|
|
|
|
security._1password.enable = true;
|
2024-07-10 12:06:41 -05:00
|
|
|
|
};
|
|
|
|
|
}
|