From 97b4928a4c9ee93ea9126d74b383121707935bc3 Mon Sep 17 00:00:00 2001 From: Arnie Date: Sun, 5 Jan 2025 16:17:47 +0100 Subject: [PATCH] Update configs --- devices/becky-dingleberry.nix | 24 +++++++++++++-- devices/lcech-mac-veracode.nix | 55 ++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 2 deletions(-) diff --git a/devices/becky-dingleberry.nix b/devices/becky-dingleberry.nix index 08400bf..9108639 100644 --- a/devices/becky-dingleberry.nix +++ b/devices/becky-dingleberry.nix @@ -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"; }; } diff --git a/devices/lcech-mac-veracode.nix b/devices/lcech-mac-veracode.nix index db1a7d0..0a810c2 100644 --- a/devices/lcech-mac-veracode.nix +++ b/devices/lcech-mac-veracode.nix @@ -100,3 +100,58 @@ in TERMINAL = "ghostty"; }; } + + +# TODO: launchd timers + +# + +# + +# + +# + +# Label + +# com.example.happybirthday + +# ProgramArguments + +# + +# happybirthday + +# + +# StartCalendarInterval + +# + +# Day + +# 11 + +# Hour + +# 0 + +# Minute + +# 0 + +# Month + +# 7 + +# Weekday + +# 0 + +# + +# + +#