No description
- Nix 100%
This PR contains the following updates: | Package | Update | Change | |---|---|---| | ghcr.io/plastic-labs/honcho | digest | `4c124ff` → `5f2f000` | --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDkuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI0OS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: #7 |
||
|---|---|---|
| hosts | ||
| modules | ||
| secrets | ||
| users/vmohammad | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
| wallpaper.png | ||
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
-
clone:
git clone https://github.com/vMohammad24/nixos-config.git ~/nixos-config cd ~/nixos-config -
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.
- 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