https://github.com/angstcraft/nix-config
nixos4love
https://github.com/angstcraft/nix-config
batman flakes hyprland love marx nixos
Last synced: 3 months ago
JSON representation
nixos4love
- Host: GitHub
- URL: https://github.com/angstcraft/nix-config
- Owner: Angstcraft
- Created: 2025-05-11T17:16:57.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-06-27T14:35:54.000Z (3 months ago)
- Last Synced: 2025-06-27T15:42:21.460Z (3 months ago)
- Topics: batman, flakes, hyprland, love, marx, nixos
- Language: Nix
- Homepage:
- Size: 24.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://builtwithnix.org)
[](https://hydra.m7.rs/jobset/nix-config/main#tabs-jobs)# My NixOS configurations
Here's my NixOS/home-manager config files. Requires [Nix flakes](https://nixos.wiki/wiki/Flakes).
**Highlights**:
- Multiple **NixOS configurations**, including **laptop**, **server**, **mac :(**
- **Opt-in persistence** through impermanence + blank snapshotting
- **Encrypted** single **BTRFS** partition
- Fully **declarative** **self-hosted** stuff
- Deployment **secrets** using **sops-nix**
- **Mesh networked** hosts with **tailscale** and **headscale**
- Flexible **Home Manager** Configs through **feature flags**
- Extensively configured wayland environments (**sway** and **hyprland**)
- **Declarative** **themes** and **wallpapers** with **nix-colors**
- **Hydra CI/CD server and binary cache** that uses the **desktops as remote builders**## About the installation
All my computers use a single btrfs (encrypted on all except headless systems)
partition, with subvolumes for `/nix`, a `/persist` directory (which I opt in
using `impermanence`), swap file, and a root subvolume (cleared on every boot).Home-manager is used in a standalone way, and because of opt-in persistence is
activated on every boot with `loginShellInit`.## How to bootstrap
All you need is nix (any version). Run:
```
nix-shell
```If you already have nix 2.4+, git, and have already enabled `flakes` and
`nix-command`, you can also use the non-legacy command:
```
nix develop
````nixos-rebuild --flake .` To build system configurations
`home-manager --flake .` To build user configurations
`nix build` (or shell or run) To build and use packages
`sops` To manage secrets
## Secrets
For deployment secrets (such as user passwords and server service secrets), I'm
using the awesome [`sops-nix`](https://github.com/Mic92/sops-nix). All secrets
are encrypted with my personal PGP key (stored on a YubiKey), as well as the
relevant systems's SSH host keys.On my desktop and laptop, I use `pass` for managing passwords, which are
encrypted using (you bet) my PGP key. This same key is also used for mail
signing, as well as for SSH'ing around.## Tooling and applications I use
Most relevant user apps daily drivers:
- hyprland + swayidle + swaylock
- waybar
- helix
- fish
- alacritty
- qutebrowser
- neomutt + mbsync
- khal + khard + todoman + vdirsyncer
- gpg + pass
- tailscale
- podman
- zathura
- wofi
- bat + fd + rg
- kdeconnect
- sublime-musicSome of the services I host:
- hydra
- navidrome
- deluge
- prometheus
- websites (such as https://m7.rs)
- minecraft
- headscaleNixy stuff:
- nix-colors
- sops-nix
- impermanence
- home-manager
- deploy-rs
- and NixOS and nix itself, of course :)Let me know if you have any questions about them :)