config/hosts/TITAN/system.nix

70 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2022-09-24 22:47:50 +03:00
{ config, lib, pkgs, aspect, inputs, hosts, ... }:
2022-02-05 21:42:36 +02:00
{
imports = [
./hardware-configuration.nix
./extras/attic-upload-daemon.nix
2022-02-05 21:42:36 +02:00
./extras/ddcci-backlight.nix
./extras/fbi-downloader.nix
./extras/nvidia-ml.nix
2024-06-10 00:20:05 +03:00
./extras/vendor-reset.nix
2022-02-05 21:42:36 +02:00
(import ../../users "desktop").users.max
inputs.agenix.nixosModules.age
]
++ ( with inputs.nixos-hardware.nixosModules; [
common-cpu-amd
])
++ aspect.sets.desktop
++ (with aspect.modules; [
persistence
nix-builder
games
lidarr
prowlarr
]);
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2024-04-21 18:46:40 +03:00
boot.kernelPackages = pkgs.linuxPackages_6_6;
2022-02-05 21:42:36 +02:00
networking.hostName = "TITAN";
time.timeZone = "Europe/Vienna";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "";
keyMap = "de";
};
services.xserver.xkb.layout = "de";
2022-02-05 21:42:36 +02:00
services.openssh.enable = true;
system.stateVersion = "22.05";
2022-02-05 21:42:36 +02:00
services.fstrim.enable = true;
users.mutableUsers = false;
virtualisation.podman.enable = true;
2022-06-01 21:01:41 +03:00
services.xserver.displayManager.gdm.autoSuspend = false;
2022-06-15 00:50:44 +03:00
boot.tmp = {
useTmpfs = true;
tmpfsSize = "75%";
};
2022-10-08 13:16:37 +03:00
networking.nat = {
enable = true;
externalInterface = "enp24s0";
internalIPs = [
"100.64.0.0/16"
2022-10-08 13:16:37 +03:00
];
};
2022-02-05 21:42:36 +02:00
}