This commit is contained in:
Philipp Hochkamp 2022-08-13 07:03:33 +02:00
parent e06b368828
commit 995e9617d8
5 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,7 @@
{ config, pkgs, ... }: {
programs.gnupg.agent.enable = true;
programs.zsh.enable = true;
environment.pathsToLink = [ "/share/zsh" ];
services.nix-daemon.enable = true;
nix.package = pkgs.nixFlakes;
nix.buildCores = 0; # use all cores

View file

@ -52,7 +52,7 @@ with lib.my;
home.sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";
PATH = "$PATH:$HOME/go/bin:/etc/profiles/per-user/ragon/bin/:$HOME/development/flutter/bin:/Applications/Android Studio.app/Contents/bin/:/Applications/Docker.app/Contents/Resources/bin:/Applications/Android Studio.app/Contents/jre/Contents/Home/bin:$HOME/.nix-profile/bin:/nix/var/nix/profiles/system/sw/bin:/nix/var/nix/profiles/per-user/ragon/home-manager/home-path/bin/";
PATH = "$PATH:$HOME/go/bin:$HOME/development/flutter/bin:/Applications/Android Studio.app/Contents/bin/:/Applications/Docker.app/Contents/Resources/bin:/Applications/Android Studio.app/Contents/jre/Contents/Home/bin";
JAVA_HOME = "/Applications/Android Studio.app/Contents/jre/Contents/Home/";
};
home.packages = with pkgs; [

View file

@ -28,6 +28,7 @@ in
config = lib.mkIf cfg.enable {
services.matrix-synapse = {
enable = true;
extraConfigFiles = [ config.age.secrets.matrixSecrets.path ];
settings.server_name = serverName;
settings.listeners = [
{
@ -47,6 +48,7 @@ in
};
ragon.agenix.secrets."matrixSecrets" = { owner = "matrix-synapse"; };
services.postgresql = {
enable = true;
};

BIN
secrets/matrixSecrets.age Normal file

Binary file not shown.

View file

@ -13,6 +13,7 @@ in
"photoprismEnv.age".publicKeys = pubkeys.ragon.host "ds9";
"ds9OffsiteBackupSSH.age".publicKeys = pubkeys.ragon.host "ds9";
"hedgedocSecret.age".publicKeys = pubkeys.ragon.host "picard";
"matrixSecrets.age".publicKeys = pubkeys.ragon.host "picard";
"gitlabInitialRootPassword.age".publicKeys = pubkeys.ragon.host "picard";
"gitlabSecretFile.age".publicKeys = pubkeys.ragon.host "picard";
"gitlabDBFile.age".publicKeys = pubkeys.ragon.host "picard";