dotfiles-nix/update.sh

8 lines
173 B
Bash
Executable File

#!/bin/sh
cp -a /etc/nixos/. ./
rm modules/proxies/shadowsocks.json
sed -i 's/.\/proxies/# .\/proxies/g' modules/default.nix
sed -i '/hosts = {/,/};/d' system/default.nix