nixos-config/work-pc.nix
Felix Schröter b3795ad195
feat(work-pc): add openssh
This also fixes agenix-related flake check failure
2023-01-06 16:34:23 +01:00

44 lines
967 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";
};
services.printing.drivers = with pkgs; [ epson-escpr ];
# only change this when specified in release notes
system.stateVersion = "22.05";
}