49 lines
936 B
Nix
49 lines
936 B
Nix
{ ... }:
|
|
|
|
let
|
|
hostName = "example-host";
|
|
userName = "gamer";
|
|
fullName = "Gaming User";
|
|
|
|
# Desktop-Auswahl:
|
|
# ./modules/desktop/gnome.nix
|
|
# ./modules/desktop/budgie.nix
|
|
# ./modules/desktop/hyprland.nix
|
|
desktopConfig = ./modules/desktop/kde.nix;
|
|
|
|
# Grafiktreiber-Auswahl:
|
|
# ./modules/graphics/nvidia.nix
|
|
graphicsConfig = ./modules/graphics/mesa-amd.nix;
|
|
in
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./modules/base.nix
|
|
./modules/packages.nix
|
|
./modules/audio/pipewire.nix
|
|
./modules/chaotic-nyx.nix
|
|
graphicsConfig
|
|
./modules/desktop/common.nix
|
|
desktopConfig
|
|
./modules/gaming.nix
|
|
./modules/peripherals.nix
|
|
];
|
|
|
|
networking.hostName = hostName;
|
|
|
|
users.users.${userName} = {
|
|
isNormalUser = true;
|
|
description = fullName;
|
|
extraGroups = [
|
|
"wheel"
|
|
"networkmanager"
|
|
"audio"
|
|
"video"
|
|
"input"
|
|
];
|
|
};
|
|
|
|
system.stateVersion = "26.05";
|
|
}
|