nixos-config/work-pc.nix

36 lines
772 B
Nix

{ config, pkgs, ... }:
{
imports = [
./hardware/base.nix
./hardware/gpu-intel.nix
./system
./desktop
./virtualisation/docker.nix
];
# replace with regenerated hardware-configuration.nix
boot.initrd.luks.devices = {
enc = {
device = "/dev/disk/by-partlabel/nixos";
allowDiscards = true;
};
};
nixpkgs.config.allowUnfree = true;
hardware.enableAllFirmware = true;
hardware.cpu.intel.updateMicrocode = true;
hardware.logitech.wireless.enable = true;
hardware.logitech.wireless.enableGraphical = true;
programs.adb.enable = true;
programs.zsh.enable = true;
services.printing.drivers = with pkgs; [ epson-escpr ];
# only change this when specified in release notes
system.stateVersion = "21.11";
}