{ config, lib, pkgs, ... }: { imports = [ ./hardware-configuration.nix ./sway/sway.nix ./nvim/default.nix ./utils/bento.nix ./utils/modules/sops.nix ./utils/modules/nur.nix ./utils/modules/autoupgrade.nix ./users # Import our new steam-deck-mode module ./modules/steam-deck-mode.nix ]; networking.hostName = "gpd-win4"; time.timeZone = "Europe/Vienna"; nixpkgs.config.allowUnfree = true; nixpkgs.config.allowBroken = true; console.keyMap = "de"; services.openssh.enable = true; security.polkit.enable = true; networking.networkmanager.enable = true; users.users.dominik = { isNormalUser = true; hashedPassword = ""; # Replace with real hash extraGroups = [ "wheel" "video" "audio" "input" ]; }; powerManagement.cpuFreqGovernor = "powersave"; # In case you want a persistent /home or other directories: # environment.persistence."/nix/persist" = { # hideMounts = true; # directories = [ "/home" ]; # }; # This system tries to unify the "Steam Deck Mode" and "Sway" approach # with toggling via systemd user services. system.stateVersion = "24.05"; }