some flake magic or something

This commit is contained in:
2026-02-21 21:02:47 +01:00
parent 3741241dbb
commit c240678e80
11 changed files with 81 additions and 37 deletions

View File

@@ -1,15 +1,20 @@
{ ... }:
{
lib,
isNixOS,
username,
...
}:
{
programs.satty = {
enable = true;
package = null;
package = lib.mkIf (!isNixOS) null;
settings = {
general = {
fullscreen = true;
early-exit = true;
initial-tool = "crop";
output-filename = "/home/szymon/Obrazy/zrzuty/%d-%m-%Y_%H:%M:%S.png";
output-filename = "/home/${username}/Obrazy/zrzuty/%d-%m-%Y_%H:%M:%S.png";
save-after-copy = true;
disable-notifications = false;
actions-on-escape = [ "exit" ];