passing all tests for all systems

This commit is contained in:
Anish Lakhwara
2022-12-07 02:01:17 +10:00
parent 07b611690e
commit 4f2bb9479e
18 changed files with 142 additions and 97 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
let inherit (lib) fileContents;
in
{
imports = [ ../cachix ];
imports = [ ../../users/anish ];
fonts = {
+2 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ self, config, lib, pkgs, ... }:
{
age.secrets.freshrss-dbpass.file = "${self}/secrets/freshrss-dbpass.age";
@@ -7,6 +7,7 @@
enable = true;
virtualHost = "rss.sealight.xyz";
baseUrl = "https://rss.sealight.xyz/";
passwordFile = "/run/agenix/freshrss-dbpass";
database = {
type = "pgsql";
passFile = "/run/agenix/freshrss-dbpass";
+6 -4
View File
@@ -2,9 +2,11 @@
# grafana configuration
services.grafana = {
enable = true;
domain = "stats.mossnet.lan";
port = 2342;
addr = "127.0.0.1";
settings.server = {
domain = "stats.mossnet.lan";
http_port = 2342;
http_addr = "127.0.0.1";
};
};
# nginx reverse proxy
@@ -26,7 +28,7 @@
port = 9002;
};
dnsmasq = {
enable = true;
enable = false;
port = 9153;
};
};
+1
View File
@@ -5,6 +5,7 @@
serviceConfig.Type = "oneshot";
path = [
pkgs.git
pkgs.openssh
pkgs.coreutils
];
script = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ pkgs, inputs, ... }:
{ pkgs, ... }:
{
systemd.services.website-deploy = {
@@ -8,7 +8,7 @@
pkgs.coreutils
pkgs.nixUnstable
pkgs.openssh
inputs.deploy.packages.${pkgs.system}.deploy-rs
pkgs.deploy
];
script = ''
cd /etc/nixos/ # TODO make variable