Skip to content

Commit

Permalink
darwin/system/interface: fix screenshot saving location
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Dec 26, 2024
1 parent b5fc8e1 commit 808c6dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/darwin/system/interface/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ in
};

config = mkIf cfg.enable {
${namespace}.home.file = {
"Pictures/screenshots/.keep".text = "";
};

system.defaults = {
CustomSystemPreferences = {
finder = {
Expand Down Expand Up @@ -161,7 +165,7 @@ in

screencapture = {
disable-shadow = true;
location = "$HOME/Pictures/screenshots/";
location = "/Users/${config.${namespace}.user.name}/Pictures/screenshots/";
type = "png";
};

Expand Down

0 comments on commit 808c6dc

Please sign in to comment.