No description
Find a file
2026-09-14 20:54:42 +03:00
hosts chore(deps): update registry.heliopolis.live/atums/status docker digest to 0239c4e (#5) 2026-09-07 18:48:45 +00:00
modules hardware: add some gpu stuff 2026-09-14 19:13:24 +03:00
secrets netbird: init 2026-09-05 12:39:47 +03:00
users/vmohammad home: organize imports 2026-08-25 09:31:30 +03:00
flake.lock Update flake.lock 2026-09-14 20:54:42 +03:00
flake.nix update flake.lock 2026-09-14 19:13:14 +03:00
LICENSE Create LICENSE 2026-03-14 17:09:19 +03:00
README.md Update README.md 2026-08-25 09:29:12 +03:00
renovate.json renovate: track docker images 2026-09-06 14:13:30 +03:00
wallpaper.png refactor themes to use stylix 2026-03-07 17:20:12 +03:00

NixOS Configuration

my personal nixos config utilizing flakes & home-manager

features

  • hosts: main-desktop (gaming/dev) and server (self-hosted services)
  • WM/DE: hyprland by default, with mango and niri boot specialisations
  • theme: rose pine via stylix
  • secrets: managed via agenix
  • formatting: alejandra
  • monitoring: prometheus, alertmanager, grafana, loki, and alloy validation through flake checks

file structure

  • flake.nix: main flake.
  • hosts/: machine-specific configs and hardware settings.
  • users/: user-specific entrypoints.
  • secrets/: encrypted agenix keys.
  • modules/:
    • system/: system-wide modules (core, hardware, users).
    • home/: home manager config (shell, dev, programs, window managers).
    • desktops/: base configurations for hyprland, mango and niri.
    • stylix.nix: themeing config.

installation

  1. clone:

    git clone https://github.com/vMohammad24/nixos-config.git ~/nixos-config
    cd ~/nixos-config
    
  2. apply your hardware-configuration.nix:

alot of stuff in this project is hardware-specfic, so you should generate a hardware-configuration.nix using the nixos-generate tool and place it in the hosts/(main-desktop/server) directory of the project.

review modules/system/hardware.nix and each enabled compositor's monitor file. make sure the host SSH key is authorized to decrypt its agenix secrets.

  1. build and switch:
    sudo nixos-rebuild switch --flake .#main-desktop
    sudo nixos-rebuild switch --flake .#server
    

The mango and niri boot specialisations are included in the main desktop generation.

validation

Run these commands from the repository root before switching:

nix fmt
nix flake check