non important commit
This commit is contained in:
parent
07d51c404c
commit
716ba60050
1 changed files with 5 additions and 2 deletions
|
|
@ -77,8 +77,11 @@
|
||||||
def rebuild [message?: string] {
|
def rebuild [message?: string] {
|
||||||
cd /home/maxag/.nix-config
|
cd /home/maxag/.nix-config
|
||||||
let commit_message = if $message != null {$message} else {"non important commit"}
|
let commit_message = if $message != null {$message} else {"non important commit"}
|
||||||
|
|
||||||
|
try {
|
||||||
git add .
|
git add .
|
||||||
git commit -m $commit_message
|
git commit -m $commit_message
|
||||||
|
}
|
||||||
|
|
||||||
sudo nixos-rebuild switch --flake .
|
sudo nixos-rebuild switch --flake .
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue