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
|
2022-08-03 03:15:06 +02:00
|
|
|
./hardware/bluetooth.nix
|
2022-08-08 22:52:32 +02:00
|
|
|
./system/desktop.nix
|
2020-03-13 18:45:29 +01:00
|
|
|
./desktop
|
2022-08-08 23:41:47 +02:00
|
|
|
./virtualisation/podman.nix
|
2019-10-18 20:05:36 +02:00
|
|
|
];
|
|
|
|
|
2020-09-07 12:50:29 +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;
|
|
|
|
|
2023-01-06 16:34:23 +01:00
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
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
|
|
|
}
|