From e9e01cbb26efca6e392df2f720729c672b711f2f Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 8 Sep 2025 03:00:59 -0700 Subject: Fix sops-nix; fix hyprland windowrules; fix security things --- nix/add-system.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 nix/add-system.sh (limited to 'nix/add-system.sh') diff --git a/nix/add-system.sh b/nix/add-system.sh new file mode 100755 index 0000000..bd7d0cf --- /dev/null +++ b/nix/add-system.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +sed -i "/# add hostnames here/i \ \"$1\"" "$HOME/monorepo/nix/flake.nix" +sed -i "/# add hostnames here/i \ \"$1\"" "$HOME/monorepo/config/nix.org" + +mkdir -p "$HOME/monorepo/nix/systems/$1" + +cat > "$HOME/monorepo/nix/systems/$1/default.nix" <