71 lines
1.3 KiB
Nix
71 lines
1.3 KiB
Nix
{ config, lib, pkgs, aspect, inputs, hosts, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./extras/attic-upload-daemon.nix
|
|
./extras/ddcci-backlight.nix
|
|
./extras/fbi-downloader.nix
|
|
./extras/invokeai.nix
|
|
./extras/nvidia-ml.nix
|
|
(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;
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_6_6;
|
|
|
|
networking.hostName = "TITAN";
|
|
|
|
time.timeZone = "Europe/Vienna";
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
console = {
|
|
font = "";
|
|
keyMap = "de";
|
|
};
|
|
|
|
services.xserver.layout = "de";
|
|
|
|
services.xserver.libinput.enable = true;
|
|
|
|
services.openssh.enable = true;
|
|
|
|
system.stateVersion = "22.05";
|
|
|
|
services.fstrim.enable = true;
|
|
|
|
users.mutableUsers = false;
|
|
|
|
virtualisation.podman.enable = true;
|
|
|
|
services.xserver.displayManager.gdm.autoSuspend = false;
|
|
|
|
boot.tmp = {
|
|
useTmpfs = true;
|
|
tmpfsSize = "75%";
|
|
};
|
|
|
|
networking.nat = {
|
|
enable = true;
|
|
externalInterface = "enp24s0";
|
|
internalIPs = [
|
|
"100.64.0.0/16"
|
|
];
|
|
};
|
|
}
|
|
|