actually do the rebuild with "oizys update"

This commit is contained in:
Daylin Morgan 2024-06-04 15:57:30 -05:00
parent bcc401f812
commit b3858aca0e
Signed by: daylin
GPG Key ID: 950D13E9719334AD
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ var updateCmd = &cobra.Command{
Short: "update and run nixos rebuild",
Run: func(cmd *cobra.Command, args []string) {
oizys.GitPull()
oizys.NixosRebuild("switch", args...)
},
}