Skip to content

Commit

Permalink
deploy: 1dd6982
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Sep 21, 2024
1 parent 11e9bc1 commit c19cdb2
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
<html><body><pre>
#!/bin/sh

# Install Nix
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
sh -s -- install --no-confirm --extra-conf "trusted-users = $(whoami)"

# Source nix configuration
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh

# Run `om health`
echo "\n# Check nix health"
nix --accept-flake-config run github:juspay/omnix health

# Setup nix-dev-home
echo "\n# Setting up home-manager & direnv"
mkdir -p ~/nixconfig && cd ~/nixconfig
nix --accept-flake-config run github:juspay/omnix -- \
init github:juspay/nix-dev-home -o . \
--non-interactive \
--params '{"username":"'$(whoami)'", "git-name":"'$(id -F)'", "git-email":"'$(whoami)'@juspay.in", "neovim": true, "github-ci": false}'
nix run
# TODO: ^ must move dotfiles out of the way

# New shell to activate home-manager env
echo "\n# Spawning new shell"
exec $SHELL
Please see https://github.com/juspay/nixone
</pre></body></html>

0 comments on commit c19cdb2

Please sign in to comment.