Compare commits
2 Commits
217bc72a6a
...
c7e2cc5321
| Author | SHA1 | Date | |
|---|---|---|---|
| c7e2cc5321 | |||
| 14d2c99c8b |
2
.zsh/macos/05-home-manager.zsh
Normal file
2
.zsh/macos/05-home-manager.zsh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Impure because of nixgl wrapper
|
||||||
|
alias hm-switch="darwin-rebuild switch --flake ~/.config/nix"
|
||||||
@ -10,9 +10,6 @@ let
|
|||||||
zshSourceCommon = ../.zsh/common;
|
zshSourceCommon = ../.zsh/common;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixGL.packages = pkgs.nixgl;
|
|
||||||
nixGL.defaultWrapper = "nvidia";
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
@ -34,6 +31,13 @@ in
|
|||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.ghostty = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
installVimSyntax = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Lukas Cech";
|
userName = "Lukas Cech";
|
||||||
@ -63,6 +67,7 @@ in
|
|||||||
|
|
||||||
dirHashes = {
|
dirHashes = {
|
||||||
mac = "${homedir}/.macshare";
|
mac = "${homedir}/.macshare";
|
||||||
|
nix = "${homedir}/.config/nix";
|
||||||
};
|
};
|
||||||
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user