6644a6aff7
Add new home module for EasyEffects and include it in the default home modules list. Enable EasyEffects in Desktop, Laptop, and default host configurations. Update flake.lock entries to newer revisions. Adjust Garand‑Laptop hardware.nix to nest hardware settings.
69 lines
1.9 KiB
Nix
69 lines
1.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,
|
||
modulesPath,
|
||
...
|
||
}: {
|
||
imports = [
|
||
(modulesPath + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
boot = {
|
||
initrd = {
|
||
availableKernelModules = [
|
||
"nvme"
|
||
"xhci_pci"
|
||
"usb_storage"
|
||
"sd_mod"
|
||
];
|
||
kernelModules = ["dm-snapshot"];
|
||
luks.devices.cryptroot = {
|
||
device = "/dev/disk/by-uuid/6abc2228-823e-42b0-94c7-48fda757732c";
|
||
preLVM = true;
|
||
};
|
||
};
|
||
kernelModules = ["kvm-amd"];
|
||
extraModulePackages = [];
|
||
};
|
||
|
||
fileSystems = {
|
||
"/" = {
|
||
device = "/dev/disk/by-uuid/d30939d0-53ed-4728-9190-6a5b9dec8fb4";
|
||
fsType = "ext4";
|
||
};
|
||
"/home" = {
|
||
device = "/dev/disk/by-uuid/3df34a25-7e42-433d-b723-be80f1738ba5";
|
||
fsType = "ext4";
|
||
};
|
||
"/boot" = {
|
||
device = "/dev/disk/by-uuid/0E68-9A34";
|
||
fsType = "vfat";
|
||
options = [
|
||
"fmask=0022"
|
||
"dmask=0022"
|
||
];
|
||
};
|
||
};
|
||
|
||
swapDevices = [
|
||
{device = "/dev/disk/by-uuid/5da7c845-7dd3-4882-93af-2d679cdb5e7a";}
|
||
];
|
||
|
||
# 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.enp3s0.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware = {
|
||
# amdgpu.opencl.enable = true;
|
||
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
};
|
||
}
|