This was previously set up manually in a nix-shell.
Invocation works like this:
  screen fswebcam --title 'tazflat' --font 'JetBrains Mono' \
                  --timestamp "%Y-%m-%d %H·%M+01" -l 60 -r 1280x720 \
                  -d /dev/video0 --jpeg 95 /var/www/blobs/flat.jpg \
                  --exec 'cp /var/www/blobs/flat.jpg /var/www/blobs/flat/at_$(date +%s).jpg'
Change-Id: I5ecf8fdf67240faf885fd12f428e368e2bc64dc8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2018
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
		
	
					 | 
			||
|---|---|---|
| .. | ||
| camden | ||
| frog | ||
| default.nix | ||
| README.md | ||
NixOS configuration
My NixOS configuration! It configures most of the packages I require on my systems, sets up Emacs the way I need and does a bunch of other interesting things.
System configuration lives in folders for each machine and a custom fixed point evaluation (similar to standard NixOS module configuration) is used to combine configuration together.
Building ops.nixos.rebuilder yields a script that will automatically
build and activate the newest configuration based on the current
hostname.
Configured hosts:
frog- weapon of mass computation at homecamden- NUC serving tazj.in, tvl.fyi & co(currently with edef)urdhva- T470s