mail and username config

This commit is contained in:
Noah Masur
2025-02-16 10:48:31 -05:00
parent 617fc6cce2
commit b36895f108
5 changed files with 21 additions and 12 deletions

View File

@ -6,6 +6,7 @@
}:
let
inherit (config.nmasur.settings) username;
cfg = config.services.betterlockscreen;
# Disable Dunst so that it's not attempting to reach a non-existent dunst service
betterlockscreen = pkgs.betterlockscreen.override { withDunst = cfg.dunst.enable; };
@ -29,7 +30,7 @@ in
"suspend.target"
];
serviceConfig = {
User = config.user;
User = username;
Type = "simple";
Environment = "DISPLAY=:0";
TimeoutSec = "infinity";