-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from Allianaab2m/darwin-nix
feat: nix-darwin
- Loading branch information
Showing
19 changed files
with
471 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
version: '3' | ||
|
||
tasks: | ||
switch: | ||
up: | ||
cmds: | ||
- nix flake update | ||
hmsw: # home-manager switch | ||
cmds: | ||
- nix run nixpkgs#home-manager -- switch --flake .#{{env "NAME"}} | ||
darwin-sw: # nix-darwin switch | ||
cmds: | ||
- nix run nix-darwin -- switch --flake .#marisa | ||
darwin-home-sw: | ||
cmds: | ||
- nix run nixpkgs#home-manager -- switch --flake .#marisa | ||
gc: | ||
cmds: | ||
- nix-collect-garbage --delete-old |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# home-manager | ||
|
||
```txt | ||
hosts/ => host specific settings | ||
programs/ => install & configure packages | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,4 @@ | |
}; | ||
|
||
programs.home-manager.enable = true; | ||
|
||
home.stateVersion = "24.05"; | ||
} |
Oops, something went wrong.