generation 485 25.11.20250714.62e0f05

This commit is contained in:
2025-07-22 14:23:04 -04:00
parent e0854cffc6
commit 5f41363bf2
3 changed files with 21 additions and 1 deletions

View File

@@ -23,3 +23,18 @@ sudo nixos-rebuild switch --flake.#thonkpad
- [damhiya](https://github.com/damhiya) - [damhiya](https://github.com/damhiya)
- [masterofnull](https://github.com/MasterofNull/nixos) - [masterofnull](https://github.com/MasterofNull/nixos)
- [hlissner](https://github.com/hlissner/dotfiles) (also uses bspwm) - [hlissner](https://github.com/hlissner/dotfiles) (also uses bspwm)
# For if you're not me
My setup is designed for (1) [academic research](https://jakegines.in/research) in my PhD, and (2) security research, in my work as a cryptographic auditor. I would highly recommend *not* (not) installing this bare and trying to figure out my system. Read my system manually and pick out the parts you're interested in.
Some subtleties about my setup:
- tailscale and syncthing are automatically set up. my note system is integrated with the OS itself with [nf](https://github.com/JakeGinesin/nix-dots/blob/master/home/scripts/journal/nf.sh), alacritty, and rofi. syncing of notes between my server, my phone, and my computer(s) is fully automatic, bootstrapping from the agenix'ed API keys
- my firefox setup is decked out with all my preferred addons, css, and settings [declared](https://github.com/JakeGinesin/nix-dots/blob/master/home/programs/firefox/default.nix). i also have a nice startpage [declared](https://github.com/JakeGinesin/nix-dots/tree/master/home/programs/firefox/startpage)
- i use dnsmasq as opposed to systemd-resolved to manage local dns. I configured nmcli to automatically set dnsmasq to resolve dns queries to [certain websites](https://github.com/JakeGinesin/nix-dots/blob/master/system/networking/blockers.sh) (i.e. instagram.com) to 0.0.0.0 if i'm connected to certain wifi ESSID's (i.e. my university's wifi, "NUWave")
- both neovim+emacs used
- custom font ttfs for polybar are [directly included](https://github.com/JakeGinesin/nix-dots/blob/master/home/fonts/default.nix) in my config because certain icons are no longer supported
- i have a stacked [rebuild script](https://github.com/JakeGinesin/nix-dots/blob/master/home/scripts/rebuild.sh)
- my zsh is [stacked](https://github.com/JakeGinesin/nix-dots/blob/master/home/programs/zsh/default.nix) with many nice [aliases](https://github.com/JakeGinesin/nix-dots/blob/master/home/programs/zsh/zshrc) for automation. secret aliases with hard-coded IPs whatever are stored under an agenix secret
- bspwm on x is used, with sxhkd used for most hotkeys
- papers automatically saved with zotero are [automatically searchable](https://github.com/JakeGinesin/nix-dots/tree/master/home/scripts/document-scripts)
- there is an option for resolution in the [configuration.nix file](https://github.com/JakeGinesin/nix-dots/tree/master/hosts/rq)

View File

@@ -203,6 +203,9 @@ alias doom-cfg="cd /home/synchronous/nix-cfg/home/programs/emacs/cfg"
alias nrc="cd /home/synchronous/nix-cfg/home/programs/nvim" alias nrc="cd /home/synchronous/nix-cfg/home/programs/nvim"
# make ncdu run fast wow
alias ncdu="ncdu -rx"
alias ndwc="nmcli device wifi connect" alias ndwc="nmcli device wifi connect"
alias ndwl="nmcli device wifi list" alias ndwl="nmcli device wifi list"
alias ndc="nmcli device disconnect wlan0" alias ndc="nmcli device disconnect wlan0"

View File

@@ -54,7 +54,9 @@ if grep --color error /tmp/nixos-switch.log; then
fi fi
# Get current generation metadata # Get current generation metadata
current=$(nixos-rebuild list-generations | grep current) # current=$(nixos-rebuild list-generations | grep current)
# current=$(sudo nix-env --list-generations --profile /nix/var/nix/profiles/system | tail -n 1 | awk '{print $1, $2, $3}')
current=$(nixos-rebuild list-generations --json | jq -r '.[1] | [.generation, .buildDate, .nixosVersion, .kernelVersion, (.current|tostring)] | @tsv' | awk '{print "generation", $1, $2}')
# Commit all changes witih the generation metadata # Commit all changes witih the generation metadata
git --git-dir /home/synchronous/nix-cfg/.git add . git --git-dir /home/synchronous/nix-cfg/.git add .