nix-config/machines/ray/configuration.nix
2021-12-19 13:16:26 -05:00

32 lines
596 B
Nix

{ config, pkgs, fetchurl, lib, ... }:
{
imports = [
./hardware-configuration.nix
];
nix.flakes.enable = true;
firmware.x86_64.enable = true;
efi.enable = true;
boot.initrd.luks.devices."enc-pv" = {
device = "/dev/disk/by-uuid/d71ebe1f-7c49-454d-b28b-1dc54cf280e5";
allowDiscards = true;
};
networking.hostName = "ray";
hardware.enableAllFirmware = true;
boot.blacklistedKernelModules = [ "btusb" ];
# fix backlight
boot.kernelParams = [ "amdgpu.backlight=0" ];
services.zerotierone.enable = true;
de.enable = true;
de.touchpad.enable = true;
}