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
|
let
|
||||||
cfg = config.snowhawk.redshift;
|
cfg = config.snowhawk.redshift;
|
||||||
cfgDir = config.xdg.configHome + "/redshift";
|
cfgDir = config.xdg.configHome + "/redshift";
|
||||||
|
|
||||||
|
sops = config.snowhawk.sops.enable;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.snowhawk.redshift = {
|
options.snowhawk.redshift = {
|
||||||
|
@ -14,6 +16,7 @@ in
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "redshift service";
|
Description = "redshift service";
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ "graphical-session.target" ];
|
||||||
|
After = lib.mkIf sops [ "sops-nix.service" ];
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
Type = "exec";
|
Type = "exec";
|
||||||
|
|
Loading…
Reference in a new issue