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

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...)
},
}