83 lines
2.9 KiB
Nix
83 lines
2.9 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, pkgs, modulesPath, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [ "nvme" "usbhid" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/1b805e8b-8c98-4822-ab83-4985313edde2";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@" ];
|
||
};
|
||
|
||
fileSystems."/.snapshots" =
|
||
{ device = "/dev/disk/by-uuid/1b805e8b-8c98-4822-ab83-4985313edde2";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@.snapshots" ];
|
||
};
|
||
|
||
fileSystems."/home" =
|
||
{ device = "/dev/disk/by-uuid/1b805e8b-8c98-4822-ab83-4985313edde2";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@home" ];
|
||
};
|
||
|
||
fileSystems."/var/cache/pacman/pkg" =
|
||
{ device = "/dev/disk/by-uuid/1b805e8b-8c98-4822-ab83-4985313edde2";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@pkg" ];
|
||
};
|
||
|
||
fileSystems."/var/log" =
|
||
{ device = "/dev/disk/by-uuid/1b805e8b-8c98-4822-ab83-4985313edde2";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@log" ];
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/14F8-5905";
|
||
fsType = "vfat";
|
||
options = [ "fmask=0022" "dmask=0022" ];
|
||
};
|
||
|
||
fileSystems."/misc" =
|
||
{ device = "/etc/autofs/auto.misc";
|
||
fsType = "autofs";
|
||
};
|
||
|
||
fileSystems."/net" =
|
||
{ device = "-hosts";
|
||
fsType = "autofs";
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
# 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.br-31542a7e57f0.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.br-69965655bcab.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.br-7032ce7b26c2.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.br-733a8e75a123.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.br-88821a6825f9.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.br-9876c096cccf.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.br-ce1af49d610b.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.enp14s0.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.virbr0.useDHCP = lib.mkDefault true;
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|