- Emacs Lisp 29.6%
- Python 16.5%
- Clojure 14.1%
- CSS 11.2%
- Nix 9.5%
- Other 19%
Was a throwaway account for learning agenix, no longer needed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| dotfiles | ||
| nixos-config | ||
| scripts | ||
| themes | ||
| .gitignore | ||
| bb.edn | ||
| README.md | ||
One Big Beautiful Repository
I. dotfiles
From the root dotfiles folder:
stow -vR --target=$HOME * or stow -vR --target=$HOME niri/
To remove all:
stow -D --target=$HOME *
After stowing on a new machine
Run the theme switcher once to create the per-app active-theme.* symlinks that the configs include/source:
bb ~/syscfg/scripts/bb/switch_theme.clj <theme-name>
Replace <theme-name> with whatever theme you want (e.g. nord, gruvbox-dark). This only needs to be done once.
II. scripts
Collection of maintained and long-forgotten scripts.
III. nixos
Second time's the charm?
Installation with LUKS -> convert to flake-based config
Choose GNOME when booting the Graphical ISO image (uses the Calamares installer) and choose GNOME instead of No desktop in the installer for an easy initial WiFi setup.
Post-install steps:
- Add this line to
/etc/nixos/configuration.nix:
nix.settings.experimental-features = [ "nix-command" "flakes" ];
Also add git and vim to environment.systemPackages for the next steps.
-
sudo nixos-rebuild switch -
git clone https://github.com/ad-8/syscfg -
cp /etc/nixos/hardware-configuration.nix ~/syscfg/nixos-config/hosts/<host>/ -
if not using LUKS, skip this step
add this line from/etc/nixos/configuration.nixto~/syscfg/nixos-config/hosts/<host>/configuration.nix
(or replace existing equivalent)
boot.initrd.luks.devices... = "/dev/disk/by-uuid/..."
-
sudo nixos-rebuild boot --flake ~/syscfg/nixos-config#<host>and reboot -
follow the ~5 post-setup steps in
~/org/nixos.org(stow dotfiles, set up doom emacs and firefox, ...)