passing all tests for all systems
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
let inherit (lib) fileContents;
|
||||
in
|
||||
{
|
||||
imports = [ ../cachix ];
|
||||
imports = [ ../../users/anish ];
|
||||
|
||||
|
||||
fonts = {
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
serviceConfig.Type = "oneshot";
|
||||
path = [
|
||||
pkgs.git
|
||||
pkgs.openssh
|
||||
pkgs.coreutils
|
||||
];
|
||||
script = ''
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user