mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
feat: adds extra config using agenix (4)
This commit is contained in:
parent
599c273fc5
commit
a0693e6983
3 changed files with 4 additions and 3 deletions
|
|
@ -37,7 +37,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, self, agenix, iceshrimp, catppuccin, ...} @ inputs:
|
outputs = { nixpkgs, self, iceshrimp, agenix, catppuccin, ...} @ inputs:
|
||||||
let
|
let
|
||||||
selfPkgs = import ./pkgs;
|
selfPkgs = import ./pkgs;
|
||||||
username = "liv";
|
username = "liv";
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
{ pkgs, config, iceshrimp, ... }:
|
{ pkgs, config, iceshrimp, agenix, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./../../modules/core
|
./../../modules/core
|
||||||
./../../modules/services/violet.nix
|
./../../modules/services/violet.nix
|
||||||
iceshrimp.nixosModules.default
|
iceshrimp.nixosModules.default
|
||||||
|
agenix.nixosModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "violet";
|
networking.hostName = "violet";
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ in {
|
||||||
server_name = "${fqdn}";
|
server_name = "${fqdn}";
|
||||||
public_baseurl = "https://${fqdn}";
|
public_baseurl = "https://${fqdn}";
|
||||||
enable_registration = false;
|
enable_registration = false;
|
||||||
extraConfig = config.age.secrets.matrix-synapse;
|
registration_shared_secret = config.age.secrets.matrix-synapse;
|
||||||
#macaroon_secret_key = config.age.secrets.matrix-synapse;
|
#macaroon_secret_key = config.age.secrets.matrix-synapse;
|
||||||
listeners = [
|
listeners = [
|
||||||
{ port = 8008;
|
{ port = 8008;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue