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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user