Refactors + firefox + shell helper script

Moved each virtualhost related to a service into that service file.
Set up firefox syncserver.
Moved to using home-manager to fully manage firefox profiles.
Moved waybar into its own folder.
Moved NUR into sources. Stopped using sources for arc's scream package,
so on.
This commit is contained in:
kat witch 2021-02-26 05:32:24 +00:00
parent 8c076ecd2f
commit 567cb12a13
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
21 changed files with 398 additions and 68 deletions

33
nyx Executable file
View file

@ -0,0 +1,33 @@
#!/usr/bin/env bash
set -eu
usage() {
echo example: $0 build samhain boot
}
build() {
HOST=$1
if [ $# -gt 2 ]; then
METHOD=$2
else
METHOD="switch"
fi
nix build -f . deploy.$HOST && ./result $METHOD
}
main() {
if [ $# -lt 2 ]; then
usage
else
CMD=$1
shift
if [[ $CMD == "build" ]]; then
build "$@"
fi
fi
}
main "$@"