nixos-config/work-pc.nix

42 lines
856 B
Nix
Raw Normal View History

2019-10-18 20:05:36 +02:00
{ config, pkgs, ... }:
{
2019-10-19 12:55:35 +02:00
imports = [
2020-03-13 18:45:29 +01:00
./hardware/base.nix
2021-08-10 17:01:52 +02:00
./hardware/gpu-intel.nix
./hardware/bluetooth.nix
2022-08-08 22:52:32 +02:00
./system/desktop.nix
2020-03-13 18:45:29 +01:00
./desktop
./virtualisation/podman.nix
2019-10-18 20:05:36 +02:00
];
# replace with regenerated hardware-configuration.nix
boot.initrd.luks.devices = {
enc = {
device = "/dev/disk/by-partlabel/nixos";
allowDiscards = true;
};
};
2019-10-19 12:55:35 +02:00
nixpkgs.config.allowUnfree = true;
2019-10-18 20:05:36 +02:00
2021-08-10 15:53:23 +02:00
hardware.logitech.wireless.enable = true;
hardware.logitech.wireless.enableGraphical = true;
2020-02-13 18:54:44 +01:00
2019-12-12 15:47:59 +01:00
programs.adb.enable = true;
2020-03-21 16:44:35 +01:00
programs.zsh.enable = true;
services.openssh = {
enable = true;
2023-05-31 17:25:46 +02:00
settings = {
KbdInteractiveAuthentication = false;
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
2019-10-19 12:55:35 +02:00
# only change this when specified in release notes
2022-08-12 12:30:01 +02:00
system.stateVersion = "22.05";
2019-10-18 20:05:36 +02:00
}