mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
This commit is contained in:
parent
99586839c8
commit
4fad38afdb
13 changed files with 115 additions and 51 deletions
|
|
@ -8,16 +8,17 @@ let
|
|||
in
|
||||
{
|
||||
options.swarselmodules.env = lib.mkEnableOption "env settings";
|
||||
config = lib.mkIf config.swarselmodules.env {
|
||||
config = z lib.mkIf config.swarselmodules.env {
|
||||
home.sessionVariables = {
|
||||
EDITOR = "e -w";
|
||||
DISPLAY = ":0";
|
||||
SWARSEL_LO_RES = config.swarselsystems.lowResolution;
|
||||
SWARSEL_HI_RES = config.swarselsystems.highResolution;
|
||||
CROC_RELAY = lib.mkIf (!isPublic) crocDomain;
|
||||
};
|
||||
systemd.user.sessionVariables = lib.mkIf (!isPublic) {
|
||||
} // (lib.optionalAttrs (!isPublic) {
|
||||
CROC_RELAY = crocDomain;
|
||||
GITHUB_NOTIFICATION_TOKEN_PATH = nixosConfig.sops.secrets.github-notifications-token.path;
|
||||
});
|
||||
systemd.user.sessionVariables = lib.mkIf (!isPublic) {
|
||||
SWARSEL_MAIL1 = address1;
|
||||
SWARSEL_MAIL2 = address2;
|
||||
SWARSEL_MAIL3 = address3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue