Compare commits
No commits in common. "7b9fcfdb1b3a56226550a1ac21f67f5739b77619" and "29b10aee99e6d80b7aa2c07b0e6eb4629a3de467" have entirely different histories.
7b9fcfdb1b
...
29b10aee99
4 changed files with 0 additions and 38 deletions
|
|
@ -1,14 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
programs.atuin = {
|
|
||||||
enable = true;
|
|
||||||
enableZshIntegration = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
auto_sync = true;
|
|
||||||
sync_address = "http://atuin.escapeangle.com";
|
|
||||||
sync_frequency = "30m";
|
|
||||||
update_check = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./git
|
./git
|
||||||
|
|
||||||
./atuin.nix
|
|
||||||
./bat.nix
|
./bat.nix
|
||||||
./btop.nix
|
./btop.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
|
|
|
||||||
|
|
@ -139,23 +139,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.atuin = {
|
|
||||||
enable = true;
|
|
||||||
openRegistration = false;
|
|
||||||
database = {
|
|
||||||
uri = "postgresql://atuin@db-01.tailnet.escapeangle.com:5432/atuin";
|
|
||||||
createLocally = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."atuin.escapeangle.com" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://localhost:${toString config.services.atuin.port}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
security.acme.defaults.email = "landervandenbulcke@gmail.com";
|
security.acme.defaults.email = "landervandenbulcke@gmail.com";
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,17 +9,12 @@
|
||||||
host all all 100.64.0.0/24 trust # trust tailnet
|
host all all 100.64.0.0/24 trust # trust tailnet
|
||||||
'';
|
'';
|
||||||
ensureDatabases = [
|
ensureDatabases = [
|
||||||
"atuin"
|
|
||||||
"authelia"
|
"authelia"
|
||||||
"forgejo"
|
"forgejo"
|
||||||
"lldap"
|
"lldap"
|
||||||
"mealie"
|
"mealie"
|
||||||
];
|
];
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
|
||||||
name = "atuin";
|
|
||||||
ensureDBOwnership = true;
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "authelia";
|
name = "authelia";
|
||||||
ensureDBOwnership = true;
|
ensureDBOwnership = true;
|
||||||
|
|
@ -43,7 +38,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
startAt = "*-*-* 02:00:00";
|
startAt = "*-*-* 02:00:00";
|
||||||
databases = [
|
databases = [
|
||||||
"atuin"
|
|
||||||
"authelia"
|
"authelia"
|
||||||
"forgejo"
|
"forgejo"
|
||||||
"lldap"
|
"lldap"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue