109 lines
3.2 KiB
Nix
109 lines
3.2 KiB
Nix
# 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")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = ["nvme" "thunderbolt" "xhci_pci" "ahci" "uas" "usbhid" "sd_mod"];
|
||
boot.initrd.kernelModules = [];
|
||
boot.kernelModules = ["kvm-amd"];
|
||
boot.extraModulePackages = [];
|
||
|
||
fileSystems."/" = {
|
||
device = "rpool/nixos/root";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "bpool/nixos/root";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/home" = {
|
||
device = "rpool/nixos/home";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/var/lib" = {
|
||
device = "rpool/nixos/var/lib";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/var/log" = {
|
||
device = "rpool/nixos/var/log";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/boot/efis/nvme-Samsung_SSD_980_PRO_1TB_S5P2NL0W208007T-part1" = {
|
||
device = "systemd-1";
|
||
fsType = "autofs";
|
||
};
|
||
|
||
fileSystems."/var/lib/lxcfs" = {
|
||
device = "lxcfs";
|
||
fsType = "fuse.lxcfs";
|
||
};
|
||
|
||
fileSystems."/var/lib/lxd/shmounts" = {
|
||
device = "tmpfs";
|
||
fsType = "tmpfs";
|
||
};
|
||
|
||
fileSystems."/var/lib/lxd/devlxd" = {
|
||
device = "tmpfs";
|
||
fsType = "tmpfs";
|
||
};
|
||
|
||
fileSystems."/si-pool" = {
|
||
device = "si-pool";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/var/lib/lxd/storage-pools/lxd-pool/containers/alpine-transmission" = {
|
||
device = "si-pool/lxd/containers/alpine-transmission";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/var/lib/lxd/storage-pools/lxd-pool/containers/debian-archive" = {
|
||
device = "si-pool/lxd/containers/debian-archive";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/var/lib/lxd/storage-pools/lxd-pool/containers/debian-serv" = {
|
||
device = "si-pool/lxd/containers/debian-serv";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/var/lib/lxd/storage-pools/lxd-pool/containers/ubuntu-mastodon" = {
|
||
device = "si-pool/lxd/containers/ubuntu-mastodon";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||
# still possible to use this option, but it's recommended to use it in conjunction
|
||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||
networking.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.eno2.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.lxdbr0.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.veth37df7998.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.vethab9cc8bd.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.vethd1c7a35e.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.vethd8ee61b3.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true;
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
|
||
services.system76-scheduler.enable = true;
|
||
hardware.system76.power-daemon.enable = true;
|
||
}
|