chore: remove agenix because i cant get it to work (2)

This commit is contained in:
Ahwx 2024-07-16 23:13:13 +02:00
parent 302ee11e53
commit 8b5787e109
3 changed files with 5 additions and 11 deletions

View file

@ -29,15 +29,12 @@
flake = false;
};
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
iceshrimp = {
url = "git+https://iceshrimp.dev/iceshrimp/packaging";
};
};
outputs = { nixpkgs, self, iceshrimp, agenix, catppuccin, ...} @ inputs:
outputs = { nixpkgs, self, iceshrimp, catppuccin, ...} @ inputs:
let
selfPkgs = import ./pkgs;
username = "liv";
@ -71,7 +68,7 @@
modules = [(
import ./hosts/violet
)];
specialArgs = { host="violet"; inherit self inputs username agenix iceshrimp ; };
specialArgs = { host="violet"; inherit self inputs username iceshrimp ; };
};
vm = nixpkgs.lib.nixosSystem {

View file

@ -1,11 +1,10 @@
{ pkgs, config, iceshrimp, agenix, ... }:
{ pkgs, config, iceshrimp, ... }:
{
imports = [
./hardware-configuration.nix
./../../modules/core
./../../modules/services/violet.nix
iceshrimp.nixosModules.default
agenix.nixosModules.default
];
networking.hostName = "violet";

View file

@ -1,4 +1,4 @@
{ pkgs, lib, config, agenix, ... }:
{ pkgs, lib, config, ... }:
let
fqdn = "liv.town";
baseUrl = "https://${fqdn}";
@ -15,8 +15,6 @@ in {
defaults.email = "ahwx@ahwx.org";
};
age.secrets.matrix-synapse.file = ../../../secrets/matrix-synapse.age;
services = {
# postgresql.enable = true;
# postgresql.initialScript = pkgs.writeText "synapse-init.sql" ''
@ -118,7 +116,7 @@ in {
server_name = "${fqdn}";
public_baseurl = "https://${fqdn}";
enable_registration = false;
extraConfig = config.age.secrets.matrix-synapse.file;
extraConfig = ./secrets.yaml;
listeners = [
{ port = 8008;
bind_addresses = [ "::1" ];