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] {
|
||||
cd /home/maxag/.nix-config
|
||||
let commit_message = if $message != null {$message} else {"non important commit"}
|
||||
git add .
|
||||
git commit -m $commit_message
|
||||
|
||||
try {
|
||||
git add .
|
||||
git commit -m $commit_message
|
||||
}
|
||||
|
||||
sudo nixos-rebuild switch --flake .
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue