No description
  • Nix 83.1%
  • Rust 7.5%
  • CMake 3.8%
  • C 2.7%
  • Shell 2.5%
  • Other 0.4%
Find a file
Nikodem Rabuliński 37f1f78a47
All checks were successful
/ check (pull_request_target) Successful in 38s
/ build (x86_64-linux) (pull_request_target) Successful in 33s
/ check (push) Successful in 35s
/ build (x86_64-linux) (push) Successful in 25s
/ build (aarch64-linux) (pull_request_target) Successful in 3m25s
/ build (aarch64-linux) (push) Successful in 1m20s
/ build (aarch64-darwin) (push) Successful in 2m48s
/ build (aarch64-darwin) (pull_request_target) Successful in 58s
pkgs/jetkvm-atx: init
2026-03-25 00:46:18 +01:00
.forgejo .forgejo: allow failure to push to cache 2026-03-08 13:41:42 +01:00
assets hosts/ude: extend the impure module 2025-07-15 21:37:57 +02:00
hosts hosts/hijiri/yabai: fix load-sa payload 2026-03-08 15:40:58 +01:00
modules modules/home/desktop/atuin: change ui columns 2026-03-08 18:21:57 +01:00
pkgs pkgs/jetkvm-atx: init 2026-03-25 00:46:18 +01:00
secrets services/matrix: turn 2026-02-22 00:00:40 +01:00
services services/kanidm: upgrade to 1.9 2026-03-08 13:41:42 +01:00
wrappers wrappers/rash: give up on the dream 2026-02-22 00:05:26 +01:00
.envrc nilla: migrate devshells 2025-05-01 22:59:58 +02:00
.gitignore nilla: add ci.check 2025-05-01 23:01:24 +02:00
default.nix ci: actually build stuff in CI 2025-10-28 12:56:53 +01:00
flake.lock flake.lock: update 2026-03-08 13:41:42 +01:00
flake.nix wrappers/rash: give up on the dream 2026-02-22 00:05:26 +01:00
garnix.yaml treewide: reformat 2025-02-04 12:13:21 +01:00
inputs.nix inputs: lazy-trees at home 2025-05-01 23:01:24 +02:00
nilla.nix services/kanidm: upgrade to 1.9 2026-03-08 13:41:42 +01:00
README.md treewide: hercules is no more 2025-05-29 20:43:34 +02:00
shell.nix nilla: init 2025-05-01 22:17:20 +02:00
treefmt.nix pkgs/jetkvm-atx: init 2026-03-25 00:46:18 +01:00

雪定(せってい)

Collection of my personal Nix configurations and opinionated NixOS, nix-darwin, home-manager, and nilla modules.

Caution

I tried to make the modules in this repository useful to others without having to modify them, meaning I tried to have many configuration options, have them be disabled by default, etc. That is no more and although I still encourage people to use my config for learning and inspiration, the modules will now assume they're running in my infrastructure and I'll only add configuration and/or enabling options when it makes sense to me, personally.

Project structure

  • hosts - per-machine configurations
    • kazuki - my linux arm server
    • hijiri - my macbook
    • hijiri-vm - linux vm running on my macbook
    • ude - another linux arm server
    • kogata - my m1 mac mini doubling as a server
    • youko - my linux x86 server
  • modules - options which in principle should be reusable by others
    • system - my opinionated nixos/nix-darwin modules
    • home - my opinionated home-manager modules
    • nilla - nilla modules
  • services - configs for services I self-host
  • secrets - agenix secrets
  • wrappers - nix packages wrapped with my configs (see: wrapper-manager)
  • assets - miscellaneous values reused throughout my config

Code guidelines

Not set rules but general guidelines for myself to hopefully keep this config clean, maintainable, and reusable.

  • only importing downwards. this means no imports = [ ../../foo/bar/some-module.nix ];
  • ideally only one level of imports. this means i'll try to only do imports = [ ./foo ]; or imports = [ ./bar.nix ] but not imports = [ ./x/y/z.nix ];
  • the file should be roughly in order of most interesting to least interesting options.
  • imports should be the first attribute (except for _file)
  • there should be no implicit state anywhere in the config. (sounds obvious but this is already broken with legion and the zfs pool but i'll let that one slide) to achieve this i still need to create a proper live iso with my config and my bootstrapping ssh key

TODOs

Sorted rougly by priority

  • get rid of flakes completely
  • bring back ci (sorta done)
  • automatic deploys (either push or pull, to be decided)
  • make the configuration truly declarative (to a reasonable degree)
  • themeing solution