2022-02-05 21:42:36 +02:00
|
|
|
{ config, pkgs, aspect, inputs, hosts, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./extras/cachix-upload-daemon.nix
|
|
|
|
./extras/ddcci-backlight.nix
|
|
|
|
./extras/fbi-downloader.nix
|
2022-03-17 21:51:11 +02:00
|
|
|
./extras/shinobi.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.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
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 = "20.09";
|
|
|
|
|
|
|
|
services.fstrim.enable = true;
|
|
|
|
|
|
|
|
users.mutableUsers = false;
|
|
|
|
|
|
|
|
virtualisation.podman.enable = true;
|
|
|
|
}
|
|
|
|
|