redshift: wait for decryption
This commit is contained in:
parent
c96fbbb91e
commit
9d67cf3d60
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
let
|
||||
cfg = config.snowhawk.redshift;
|
||||
cfgDir = config.xdg.configHome + "/redshift";
|
||||
|
||||
sops = config.snowhawk.sops.enable;
|
||||
in
|
||||
{
|
||||
options.snowhawk.redshift = {
|
||||
|
@ -14,6 +16,7 @@ in
|
|||
Unit = {
|
||||
Description = "redshift service";
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
After = lib.mkIf sops [ "sops-nix.service" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "exec";
|
||||
|
|
Loading…
Reference in a new issue