Files
Nomarchy/hosts/default/configuration.nix
Bernardo Magri f211ef0d09 feat: Nomarchy ground-up rewrite on NixOS 26.05
Full replacement of the previous iteration, rebuilt around three ideas:

- Pure evaluation: theme-state.json lives inside the flake and is read
  via the nomarchy.stateFile option — no --impure, ever.
- All-Home-Manager theming: `nomarchy-theme-sync apply` writes the JSON
  and runs `home-manager switch`; every theme change is one atomic,
  rollbackable generation. Wallpaper (swww) is the sole runtime piece.
- Flat, downstream-first layout: modules/{nixos,home} with one
  options.nix each, exported as nixosModules/homeModules + overlay +
  flake template; system (nixos-rebuild) and desktop (home-manager
  switch) rebuild paths are fully split.

Ships 21 themes imported from the previous iteration (palettes,
wallpapers, btop themes, six whole-swap Waybar identities), Stylix for
the GTK/Qt/cursor long tail, a live ISO target with offline theme
switching, and docs/TESTING.md with the QEMU verification workflow.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 10:59:13 +01:00

25 lines
695 B
Nix

# Reference host — machine specifics ONLY.
# The distro itself comes from nixosModules.nomarchy (modules/nixos),
# imported in flake.nix. Keep this file boring.
{ pkgs, username, ... }:
{
imports = [ ./hardware-configuration.nix ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "nomarchy";
time.timeZone = "UTC"; # adjust per machine
i18n.defaultLocale = "en_US.UTF-8";
users.users.${username} = {
isNormalUser = true;
description = "Nomarchy user";
extraGroups = [ "wheel" "networkmanager" "video" "input" ];
};
system.stateVersion = "26.05";
}