Skip to content

Commit

Permalink
freefb: run as separate user
Browse files Browse the repository at this point in the history
  • Loading branch information
lopsided98 committed Nov 23, 2023
1 parent cffa018 commit a3a09d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/services/hardware/freefb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,12 @@ in {
] ++ optionals (cfg.configFile != null) [
"--config" cfg.configFile
] ++ [
"-l" "${cfg.link}"
"--link" "${cfg.link}"
"sync"
] ++ optional cfg.dump "--dump");
User = "freefb";
Group = "freefb";
CacheDirectory = "freefb";
}
(mkIf cfg.dump {
StateDirectory = "freefb";
Expand Down

0 comments on commit a3a09d3

Please sign in to comment.