Force creation of oauth2ms config symlink
All checks were successful
Cachix / build (elendel) (push) Successful in 2m37s
Cachix / build (kholinar) (push) Successful in 4m34s
Cachix / build (marabethia) (push) Successful in 4m10s

This commit is contained in:
Charlotte Van Petegem 2025-07-05 22:27:40 +02:00
parent 2da7b5263f
commit 38a42653c7
Signed by: chvp
SSH key fingerprint: SHA256:s9rb8jBVfdahqWHuBAcHCBP1wmj4eYQXZfqgz4H3E9E

View file

@ -288,7 +288,7 @@ in
# This leaves root-owned directories in the home directory, messing up the rest of the boot sequence
activation.linkOauth2msConfig = lib.hm.dag.entryAfter ["writeBoundary"] ''
run mkdir -p $VERBOSE_ARG $HOME/.config/oauth2ms
run ln -s $VERBOSE_ARG ${config.age.secrets."files/programs/oauth2ms".path} $HOME/.config/oauth2ms/config.json
run ln -sf $VERBOSE_ARG ${config.age.secrets."files/programs/oauth2ms".path} $HOME/.config/oauth2ms/config.json
'';
packages = [ pkgs.oauth2ms ];
};