nixos-config/work-pc.nix
Felix Schröter 01ed691523
feat: improve printing config
Should now discover printers via IPP Everywhere automatically.
2023-03-06 16:46:25 +01:00

42 lines
908 B
Nix

{ config, pkgs, ... }:
{
imports = [
./hardware/base.nix
./hardware/gpu-intel.nix
./hardware/bluetooth.nix
./system/desktop.nix
./desktop
./virtualisation/podman.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.openssh = {
enable = true;
kbdInteractiveAuthentication = false;
passwordAuthentication = false;
permitRootLogin = "no";
};
# only change this when specified in release notes
system.stateVersion = "22.05";
}