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/cachix-upload-daemon.nix
|
2022-09-24 22:47:50 +03:00
|
|
|
./extras/custom-kernel.nix
|
2022-02-05 21:42:36 +02:00
|
|
|
./extras/ddcci-backlight.nix
|
|
|
|
./extras/fbi-downloader.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;
|
|
|
|
|
2022-09-24 22:47:50 +03:00
|
|
|
boot.kernelPackages = lib.mkForce (pkgs.linuxPackagesFor (pkgs.linux_testing_bcachefs.override {
|
|
|
|
ignoreConfigErrors = true;
|
|
|
|
}));
|
|
|
|
|
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.layout = "de";
|
|
|
|
|
|
|
|
services.xserver.libinput.enable = true;
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
2022-08-28 02:54:55 +03:00
|
|
|
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.supportedFilesystems = [ "bcachefs" ];
|
2022-08-28 17:58:07 +03:00
|
|
|
|
|
|
|
boot.tmpOnTmpfs = true;
|
|
|
|
boot.tmpOnTmpfsSize = "75%";
|
2022-02-05 21:42:36 +02:00
|
|
|
}
|
|
|
|
|