2023-08-13 00:28:29 +02:00
|
|
|
{ ... }:
|
2019-08-24 13:12:32 +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
|
|
|
|
../hardware/xbox.nix
|
|
|
|
../hardware/steam.nix
|
|
|
|
../hardware/ledger.nix
|
|
|
|
../system/desktop.nix
|
|
|
|
../system/printing/home.nix
|
|
|
|
../system/gaming.nix
|
|
|
|
../desktop
|
2023-09-18 19:33:14 +02:00
|
|
|
../virtualisation/containers.nix
|
2023-08-13 00:28:29 +02:00
|
|
|
../virtualisation/podman.nix
|
2023-09-18 19:33:14 +02:00
|
|
|
../virtualisation/libvirt.nix
|
2023-08-13 00:28:29 +02:00
|
|
|
../modules/systemdNotify.nix
|
|
|
|
../services/samba/home-pc.nix
|
|
|
|
../services/restic/home-pc.nix
|
|
|
|
../services/pcscd.nix
|
2019-08-24 13:12:32 +02:00
|
|
|
];
|
|
|
|
|
2019-10-19 12:55:35 +02:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
2019-08-24 13:12:32 +02:00
|
|
|
|
2021-03-04 14:56:39 +01:00
|
|
|
boot.loader.systemd-boot.memtest86.enable = true;
|
|
|
|
|
2023-06-26 18:04:58 +02:00
|
|
|
# running binaries for other architectures
|
|
|
|
# boot.binfmt.emulatedSystems = [ "aarch64-linux" "riscv64-linux" "wasm64-wasi" "wasm32-wasi" ];
|
2022-02-08 23:46:28 +01:00
|
|
|
|
2020-02-15 10:47:55 +01:00
|
|
|
programs.adb.enable = true;
|
|
|
|
|
2020-03-21 16:44:35 +01:00
|
|
|
programs.zsh.enable = true;
|
|
|
|
|
2022-05-04 03:02:47 +02:00
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2023-05-31 17:25:46 +02:00
|
|
|
settings = {
|
|
|
|
KbdInteractiveAuthentication = false;
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
PermitRootLogin = "no";
|
|
|
|
};
|
2022-05-04 03:02:47 +02:00
|
|
|
};
|
|
|
|
|
2024-01-25 02:19:00 +01:00
|
|
|
services.tailscale.extraUpFlags =
|
|
|
|
[ "--operator=felschr" "--advertise-routes=192.168.1.0/24" ];
|
2023-12-27 18:03:57 +01:00
|
|
|
|
2021-10-29 20:27:44 +02:00
|
|
|
networking.firewall.allowedUDPPorts = [
|
|
|
|
24727 # AusweisApp2
|
|
|
|
];
|
2021-06-10 11:54:16 +02:00
|
|
|
networking.hosts = {
|
|
|
|
# force IPv4, see: https://github.com/transmission/transmission/issues/407
|
|
|
|
"87.98.162.88" = [ "portcheck.transmissionbt.com" ];
|
|
|
|
};
|
2020-12-25 12:04:18 +01:00
|
|
|
|
2023-01-06 19:03:57 +01:00
|
|
|
systemd.notify.enable = true;
|
|
|
|
systemd.notify.method = "libnotify";
|
|
|
|
systemd.notify.libnotify.user = "felschr";
|
2022-05-01 16:42:56 +02:00
|
|
|
|
2019-10-19 12:55:35 +02:00
|
|
|
# only change this when specified in release notes
|
2023-05-31 18:50:01 +02:00
|
|
|
system.stateVersion = "23.05";
|
2019-08-24 13:12:32 +02:00
|
|
|
}
|