nixos-config/hosts/work-pc.nix

43 lines
887 B
Nix
Raw Normal View History

2023-08-13 00:28:29 +02:00
{ ... }:
2019-10-18 20:05:36 +02:00
{
2019-10-19 12:55:35 +02:00
imports = [
2023-08-13 00:28:29 +02:00
../hardware/base.nix
../hardware/bluetooth.nix
../system/desktop.nix
../system/printing/home.nix
../desktop
../virtualisation/containers.nix
2023-08-13 00:28:29 +02:00
../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
}