Update
This commit is contained in:
+24
-9
@@ -1,25 +1,40 @@
|
||||
{ ... }:
|
||||
|
||||
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
|
||||
./modules/graphics/mesa-amd.nix
|
||||
./modules/desktop
|
||||
graphicsConfig
|
||||
./modules/desktop/common.nix
|
||||
desktopConfig
|
||||
./modules/gaming.nix
|
||||
./modules/peripherals.nix
|
||||
];
|
||||
|
||||
networking.hostName = "nixos-gaming";
|
||||
networking.hostName = hostName;
|
||||
|
||||
profiles.desktop = "kde";
|
||||
# Moegliche Werte: "kde" "gnome" "budgie" "hyprland"
|
||||
|
||||
users.users.max = {
|
||||
users.users.${userName} = {
|
||||
isNormalUser = true;
|
||||
description = "max";
|
||||
description = fullName;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
@@ -29,5 +44,5 @@
|
||||
];
|
||||
};
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
system.stateVersion = "26.05";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user