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

@@ -0,0 +1,44 @@
# This is a placeholder hardware-configuration.nix file.
#
# IMPORTANT: Replace this file with your actual hardware-configuration.nix
# generated during NixOS installation, typically found at:
# /etc/nixos/hardware-configuration.nix
#
# To generate a new hardware configuration, run:
# sudo nixos-generate-config --show-hardware-config > hardware-configuration.nix
#
# This placeholder will NOT work for actual system builds - the UUIDs below
# are placeholders that must be replaced with your actual disk UUIDs.
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
# Example boot configuration (replace with your actual hardware)
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
# IMPORTANT: Replace these UUIDs with your actual disk UUIDs
# Find your UUIDs with: lsblk -f
fileSystems."/" = {
device = "/dev/disk/by-uuid/REPLACE-WITH-YOUR-ROOT-UUID";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/REPLACE-WITH-YOUR-BOOT-UUID";
fsType = "vfat";
};
swapDevices = [
{ device = "/dev/disk/by-uuid/REPLACE-WITH-YOUR-SWAP-UUID"; }
];
# CPU microcode updates for AMD
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}