Configure for atlas/pinj and add Wayland session variables

- Rename hosts/hostname/ to hosts/atlas/
- Replace all <hostname> placeholders with 'atlas'
- Replace all <username> placeholders with 'pinj'
- Set timezone to Europe/Rome (with TODO note to change if needed)
- Set locale to en_US.UTF-8
- Add Wayland session variables (QT_QPA_PLATFORM, MOZ_ENABLE_WAYLAND,
  NIXOS_OZONE_WL) for proper app integration
- Remove placeholder comments that are no longer needed

https://claude.ai/code/session_01UAdmEkSeh9NGPfjRfViLWY
This commit is contained in:
Claude
2026-02-01 20:00:52 +00:00
parent 88bab96c2b
commit 042b36f2e4
5 changed files with 17 additions and 18 deletions

View File

@@ -10,10 +10,9 @@
# --------------------------------------------------------------------------
# SYSTEM
# --------------------------------------------------------------------------
# IMPORTANT: Replace with actual values
networking.hostName = "<hostname>";
time.timeZone = "<timezone>";
i18n.defaultLocale = "<locale>";
networking.hostName = "atlas";
time.timeZone = "Europe/Rome"; # TODO: Change to your timezone
i18n.defaultLocale = "en_US.UTF-8";
networking.networkmanager.enable = true;
@@ -42,6 +41,13 @@
# This variable is optional but makes it explicit
environment.variables.AMD_VULKAN_ICD = "RADV";
# Wayland session variables for proper app integration
environment.sessionVariables = {
QT_QPA_PLATFORM = "wayland";
MOZ_ENABLE_WAYLAND = "1";
NIXOS_OZONE_WL = "1"; # Electron apps (VS Code, Discord, etc.)
};
# --------------------------------------------------------------------------
# CPU - Zen 3 Optimizations (Ryzen 7 5700G)
# --------------------------------------------------------------------------
@@ -75,16 +81,14 @@
enable = true;
settings.default_session = {
command = "mango";
# IMPORTANT: Replace <username> with actual username
user = "<username>";
user = "pinj";
};
};
# --------------------------------------------------------------------------
# USER ACCOUNT
# --------------------------------------------------------------------------
# IMPORTANT: Replace <username> with actual username
users.users.<username> = {
users.users.pinj = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "video" "seat" ];
# IMPORTANT: Generate a password hash with: mkpasswd -m sha-512

View File

@@ -22,10 +22,9 @@
};
};
# IMPORTANT: Replace <username> with actual username
# NOTE: After first enabling/applying this dev profile, you must log out and
# log back in (or reboot) for the docker group membership to take effect.
users.users.<username>.extraGroups = [ "docker" ];
users.users.pinj.extraGroups = [ "docker" ];
# --------------------------------------------------------------------------
# DEVELOPMENT TOOLS
@@ -35,8 +34,7 @@
nix-direnv.enable = true; # Caches nix shells
};
# IMPORTANT: Replace <username> with actual username
users.users.<username>.packages = with pkgs; [
users.users.pinj.packages = with pkgs; [
# -- Git --
lazygit
gh # GitHub CLI

View File

@@ -53,14 +53,12 @@
# programs to function correctly. These groups are only added when using
# the gaming profile. If you need consistent group membership across
# both profiles, add these groups to common.nix instead.
# IMPORTANT: Replace <username> with actual username
users.users.<username>.extraGroups = [ "corectrl" "gamemode" ];
users.users.pinj.extraGroups = [ "corectrl" "gamemode" ];
# --------------------------------------------------------------------------
# GAMING PACKAGES
# --------------------------------------------------------------------------
# IMPORTANT: Replace <username> with actual username
users.users.<username>.packages = with pkgs; [
users.users.pinj.packages = with pkgs; [
# -- Performance Overlays --
mangohud # FPS counter, GPU stats
goverlay # MangoHud GUI config