mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 10:10:45 -06:00
actually do the rebuild with "oizys update"
This commit is contained in:
parent
bcc401f812
commit
b3858aca0e
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ var updateCmd = &cobra.Command{
|
||||||
Short: "update and run nixos rebuild",
|
Short: "update and run nixos rebuild",
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
oizys.GitPull()
|
oizys.GitPull()
|
||||||
|
oizys.NixosRebuild("switch", args...)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue