summaryrefslogtreecommitdiff
path: root/users/ryan/home.nix
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2026-06-15 14:35:44 -0400
committerRyan Schanzenbacher <ryan@rschanz.org>2026-06-15 14:35:44 -0400
commite489d5d1ce838df439123787a9aae1b6c835f645 (patch)
tree8f34c810d8760e52bea0ea8b1fdac8d6c75e140b /users/ryan/home.nix
parent7adeedbdd6287517fca8c0b8080221e77ad79b54 (diff)
Changed dock layout to contain all apps
Installed iina over mpv
Diffstat (limited to 'users/ryan/home.nix')
-rw-r--r--users/ryan/home.nix22
1 files changed, 20 insertions, 2 deletions
diff --git a/users/ryan/home.nix b/users/ryan/home.nix
index 9154066..33aa292 100644
--- a/users/ryan/home.nix
+++ b/users/ryan/home.nix
@@ -1,4 +1,4 @@
1{ config, pkgs, ... }: 1{ config, pkgs, lib, ... }:
2 2
3{ 3{
4 # This value determines the Home Manager release that your configuration is 4 # This value determines the Home Manager release that your configuration is
@@ -89,12 +89,12 @@
89 yt-dlp 89 yt-dlp
90 aerc 90 aerc
91 gdu 91 gdu
92 mpv
93 taskwarrior3 92 taskwarrior3
94 delta 93 delta
95 bat 94 bat
96 pass 95 pass
97 pandoc 96 pandoc
97 iina # Media player (frontend to mpv essentially)
98 ]; 98 ];
99 99
100 # Home Manager is pretty good at managing dotfiles. The primary way to manage 100 # Home Manager is pretty good at managing dotfiles. The primary way to manage
@@ -112,6 +112,24 @@
112 # ''; 112 # '';
113 }; 113 };
114 114
115 # Install User apps to subdir for dock stuff
116 targets.darwin.linkApps.directory = "Applications/User Apps";
117
118 # Symlink System apps into the user apps "system" dir
119 home.activation.linkSystemApps = lib.hm.dag.entryAfter ["writeBoundary"] ''
120 if [[ -z "$HOME" ]]; then
121 echo "ERROR: HOME was not defined. This should not happen. Bailing! ">&2
122 exit 1
123 fi
124
125 $DRY_RUN_CMD mkdir -p "$HOME/Applications/System Apps"
126
127 $DRY_RUN_CMD rm -rf "$HOME/Applications/System Apps/"*.app
128
129 $DRY_RUN_CMD find /Applications /System/Applications -maxdepth 2 -name "*.app" \
130 -prune -exec ln -sf {} "$HOME/Applications/System Apps/" \;
131 '';
132
115 xdg.configFile."aerc" = { 133 xdg.configFile."aerc" = {
116 source = ./aerc; 134 source = ./aerc;
117 recursive = true; 135 recursive = true;