feat: packages2
This commit is contained in:
parent
40f300f95a
commit
7cca126b52
2 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
home.packages = with pkgs; [
|
||||
|
||||
my.scripts
|
||||
jq
|
||||
nnn
|
||||
bat
|
||||
htop
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
REV=$(curl https://api.github.com/repos/ragon000/nixos-config/branches/main | jq -r .commit.sha)
|
||||
|
||||
if [[ $(uname) == "Linux" ]]; then
|
||||
sudo nixos-rebuild switch --flake "github:ragon000/nixos-config?rev=$REV"
|
||||
else # Darwin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue