Update configs

This commit is contained in:
Arnie 2025-01-05 16:17:47 +01:00
parent 53d64905ea
commit 97b4928a4c
2 changed files with 77 additions and 2 deletions

View File

@ -14,6 +14,17 @@ in
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Enable XDG for non terminal apps
# https://github.com/nix-community/home-manager/issues/1439
#programs.bash.enable = true;
#targets.genericLinux.enable = true;
#xdg = {
# enable = true;
# mime = {
# enable = true;
# };
#};
nixGL.packages = pkgs.nixgl;
nixGL.defaultWrapper = "nvidia";
@ -24,11 +35,12 @@ in
home.stateVersion = "24.11";
home.packages = with pkgs; [
bat
nixd
# TODO: Move from system to nix
# awscli2
# k9s
# kubectl
# nixd
];
programs.direnv = {
@ -60,6 +72,7 @@ in
};
};
programs.ghostty = {
enable = true;
@ -67,14 +80,20 @@ in
enableZshIntegration = true;
package = config.lib.nixGL.wrap pkgs.ghostty;
};
programs.zsh = {
enable = true;
autocd = true;
shellAliases = {
cat = "bat --paging=never";
};
dirHashes = {
mac = "${homedir}/storage/.macshare";
nix = "${homedir}/.config/nix";
circuitry = "${homedir}/storage/.circuitry";
dev = "${homedir}/storage/.devstack";
ai = "${homedir}/storage/.devstack/ai";
@ -118,5 +137,6 @@ in
home.sessionVariables = {
EDITOR = "vim";
GO111MODULE = "on";
TERMINAL = "ghostty";
};
}

View File

@ -100,3 +100,58 @@ in
TERMINAL = "ghostty";
};
}
# TODO: launchd timers
# <?xml version="1.0" encoding="UTF-8"?>
# <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
# "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
# <plist version="1.0">
# <dict>
# <key>Label</key>
# <string>com.example.happybirthday</string>
# <key>ProgramArguments</key>
# <array>
# <string>happybirthday</string>
# </array>
# <key>StartCalendarInterval</key>
# <dict>
# <key>Day</key>
# <integer>11</integer>
# <key>Hour</key>
# <integer>0</integer>
# <key>Minute</key>
# <integer>0</integer>
# <key>Month</key>
# <integer>7</integer>
# <key>Weekday</key>
# <integer>0</integer>
# </dict>
# </dict>
# </plist>