Compare commits

..

No commits in common. "8a3dd8b209b48c5a543d99761ad9055a60dbb17d" and "6db3140bf42885aabca233f5f7f621e68573c0e0" have entirely different histories.

5 changed files with 10 additions and 8 deletions

View file

@ -5,8 +5,6 @@
./website.nix ./website.nix
]; ];
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
fileSystems."/mnt/gts" = { device = "/dev/sdb1"; fsType = "ext4"; };
services.restic.backups.default.paths = ["/mnt/gts"];
cherrykitten.backups.enable = true; cherrykitten.backups.enable = true;
cherrykitten.network = { cherrykitten.network = {
public_IPv4 = "128.140.109.125"; public_IPv4 = "128.140.109.125";

View file

@ -5,9 +5,15 @@ let
port = 8553; port = 8553;
in in
{ {
deployment.keys."gts_env" = {
destDir = "/root/keys/";
keyCommand = [ "pass" "hosts/ocelot/gts/env" ];
user = "gotosocial";
};
services.gotosocial = { services.gotosocial = {
enable = true; enable = true;
setupPostgresqlDB = true; setupPostgresqlDB = true;
environmentFile = "/root/keys/gts_env";
settings = { settings = {
inherit bind-address host port; inherit bind-address host port;
application-name = "CherryKitten"; application-name = "CherryKitten";
@ -30,8 +36,7 @@ in
statuses-poll-option-max-chars = 150; statuses-poll-option-max-chars = 150;
statuses-media-max-files = 16; statuses-media-max-files = 16;
storage-backend = "local"; storage-backend = "s3";
storage-local-base-path = "/mnt/gts";
}; };
}; };

View file

@ -32,8 +32,6 @@
users.users.sammy.packages = with pkgs; [ users.users.sammy.packages = with pkgs; [
picard picard
discord discord
inkscape
osu-lazer-bin
]; ];
programs.steam = { programs.steam = {

View file

@ -1,5 +1,7 @@
{ ... }: { ... }:
{ {
nixpkgs.overlays = [ ]; nixpkgs.overlays = [
(import ./gotosocial.nix)
];
} }

View file

@ -104,7 +104,6 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
bat bat
bind.dnsutils bind.dnsutils
comma
fd fd
file file
git git