Compare commits
5 commits
aa766b7adc
...
478af69792
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
478af69792 | ||
|
|
b636b4ae97 | ||
|
|
37a7b07980 | ||
|
|
7b46f71779 | ||
|
|
c8b7439339 |
7 changed files with 37 additions and 13 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -11,3 +11,4 @@ dkim_private.pem
|
|||
|
||||
install.log
|
||||
.direnv
|
||||
.agents
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
./modules/matrix.nix
|
||||
./modules/monitoring.nix
|
||||
./modules/ntfy.nix
|
||||
./modules/uptime-kuma.nix
|
||||
./secrets/secrets-scheme.nix
|
||||
# Impure Secrets
|
||||
./secrets/secrets.nix
|
||||
|
|
|
|||
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -22,11 +22,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1771848320,
|
||||
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
|
||||
"lastModified": 1772198003,
|
||||
"narHash": "sha256-I45esRSssFtJ8p/gLHUZ1OUaaTaVLluNkABkk6arQwE=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2fc6539b481e1d2569f25f8799236694180c0993",
|
||||
"rev": "dd9b079222d43e1943b6ebd802f04fd959dc8e61",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -24,8 +24,14 @@
|
|||
|
||||
devShells.x86_64-linux.default = let
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
deploy = pkgs.writeShellScriptBin "nhs" ''
|
||||
nh os switch --hostname extremist-software --target-host root@extremist-software --impure path:. "$@"
|
||||
'';
|
||||
in pkgs.mkShell {
|
||||
packages = [ pkgs.nh ];
|
||||
packages = [
|
||||
pkgs.nh
|
||||
deploy
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,6 +64,12 @@
|
|||
'';
|
||||
};
|
||||
|
||||
"uptime.extremist.software" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:4001
|
||||
'';
|
||||
};
|
||||
|
||||
"ntfy.extremist.software" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:2586
|
||||
|
|
|
|||
|
|
@ -14,17 +14,16 @@
|
|||
search = {
|
||||
request_timeout = 1.5;
|
||||
};
|
||||
use_default_settings = {
|
||||
engines = {
|
||||
keep_only = [
|
||||
"google"
|
||||
"wikipedia"
|
||||
];
|
||||
};
|
||||
ui = {
|
||||
categories_as_tabs = [ "general" "images" ];
|
||||
};
|
||||
engines = [
|
||||
{ name = "google"; engine = "google"; disabled = false; }
|
||||
{ name = "wikipedia"; engine = "wikipedia"; disabled = false; }
|
||||
{ name = "google"; engine = "google"; categories = "general"; disabled = false; }
|
||||
{ name = "wikipedia"; engine = "wikipedia"; categories = "general"; disabled = false; }
|
||||
{ name = "google images"; engine = "google_images"; categories = "images"; disabled = false; }
|
||||
{ name = "duckduckgo images"; engine = "duckduckgo_images"; categories = "images"; disabled = false; }
|
||||
{ name = "bing images"; engine = "bing_images"; categories = "images"; disabled = false; }
|
||||
{ name = "qwant images"; engine = "qwant_images"; categories = "images"; disabled = false; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
11
modules/uptime-kuma.nix
Normal file
11
modules/uptime-kuma.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.uptime-kuma = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PORT = "4001";
|
||||
HOST = "127.0.0.1";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue