Compare commits
No commits in common. "0786f2ba878693e892b87f350bcdeadf8e3d9046" and "c549f149b38de70e273b6613351d443a478a275f" have entirely different histories.
0786f2ba87
...
c549f149b3
3 changed files with 17 additions and 2 deletions
14
hosts/sora/services/atuin.nix
Normal file
14
hosts/sora/services/atuin.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
networking.firewall.allowedTCPPorts = [8888];
|
||||||
|
services.atuin = {
|
||||||
|
enable = true;
|
||||||
|
openRegistration = false;
|
||||||
|
openFirewall = true;
|
||||||
|
host = "100.104.42.96";
|
||||||
|
port = 8888;
|
||||||
|
database = {
|
||||||
|
createLocally = lib.mkForce false;
|
||||||
|
uri = "postgres://atuin:atuin@100.94.214.100:5432/atuin";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -8,6 +8,7 @@
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./croc.nix
|
./croc.nix
|
||||||
./glances.nix
|
./glances.nix
|
||||||
|
./atuin.nix
|
||||||
|
|
||||||
### game servers
|
### game servers
|
||||||
# ./terraria.nix
|
# ./terraria.nix
|
||||||
|
|
|
@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "SevenTV";
|
owner = "SevenTV";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "1132751f4ba4ae7306e0defd01fbaa467bbdb528";
|
rev = "7eef663cc3e1e863011b6d0eb377e64f9478b673";
|
||||||
sha256 = "sha256-/b1+4v09nDiATJlziedY/1S6Zq1iq45PPh37cwxznMQ=";
|
sha256 = "sha256-5Zvjf2nohKK/ykF2VFYVjsPpgj7/xWyL2fa/L1iphbk=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue