aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-01-10 14:32:57 -0800
committerPreston Pan <ret2pop@gmail.com>2025-01-10 14:32:57 -0800
commitc9dc4923318e60b7440de972570be8dcedb02b41 (patch)
treeb828416ff1c971fdbb9db1fe72ceae53e89295bc
parent82f3b7b522edd220fc6819fb7c36496a7bfff407 (diff)
shell script post-install
-rw-r--r--desktop/home.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/desktop/home.nix b/desktop/home.nix
index 0143c00..c035c0f 100644
--- a/desktop/home.nix
+++ b/desktop/home.nix
@@ -14,7 +14,7 @@ in
mkdir -p ${config.home.homeDirectory}/src
${pkgs.git}/bin/git clone https://git.nullring.xyz/publish-org-roam-ui.git ${config.home.homeDirectory}/src/publish-org-roam-ui
fi
-
+
if [ ! -d "${config.home.homeDirectory}/.password-store" ]; then
${pkgs.git}/bin/git clone ${vars.passwordRepo} ${config.home.homeDirectory}/.password-store
fi
@@ -65,6 +65,17 @@ in
graphviz
grim
gum
+ (writeShellScriptBin "post-install" ''
+if [ ! -d ~/toughnix ]; then
+ git clone https://git.nullring.xyz/toughnix.git ~/toughnix
+fi
+
+cd ~/toughnix
+vim desktop/vars.nix
+vim desktop/sda-simple.nix
+sudo nixos-rebuild switch --flake .#continuity
+echo "Post install done! Now install your ssh and gpg keys."
+'')
helvum
imagemagick
inkscape