Skip to content

Commit

Permalink
feat: support for Desktop launcher of NoiseTorch
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarrio committed Nov 20, 2024
1 parent ed8dc9a commit 5e1cb45
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions nixos/modules/services/noisetorch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@ in
#!/bin/bash
exec ${config.security.wrapperDir}/noisetorch "$@"
'')
(pkgs.makeDesktopItem {
name = "noisetorch-desktop";
desktopName = "NoiseTorch";
exec = ''
${config.security.wrapperDir}/noisetorch %F
'';
})
];
# systemd.user.services.noisetorch = {
# description = "noisetorch";
# startLimitBurst = 5;
# startLimitIntervalSec = 500;
# serviceConfig = {
# ExecStart = "${config.security.wrapperDir}/noisetorch";
# Restart = "on-failure";
# RestartSec = "5s";
# };
# };
};
}

0 comments on commit 5e1cb45

Please sign in to comment.