Compare commits
3 commits
6db3140bf4
...
8a3dd8b209
Author | SHA1 | Date | |
---|---|---|---|
8a3dd8b209 | |||
b0594db717 | |||
353522d5ee |
5 changed files with 8 additions and 10 deletions
|
@ -5,6 +5,8 @@
|
|||
./website.nix
|
||||
];
|
||||
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.network = {
|
||||
public_IPv4 = "128.140.109.125";
|
||||
|
|
|
@ -5,15 +5,9 @@ let
|
|||
port = 8553;
|
||||
in
|
||||
{
|
||||
deployment.keys."gts_env" = {
|
||||
destDir = "/root/keys/";
|
||||
keyCommand = [ "pass" "hosts/ocelot/gts/env" ];
|
||||
user = "gotosocial";
|
||||
};
|
||||
services.gotosocial = {
|
||||
enable = true;
|
||||
setupPostgresqlDB = true;
|
||||
environmentFile = "/root/keys/gts_env";
|
||||
settings = {
|
||||
inherit bind-address host port;
|
||||
application-name = "CherryKitten";
|
||||
|
@ -36,7 +30,8 @@ in
|
|||
statuses-poll-option-max-chars = 150;
|
||||
statuses-media-max-files = 16;
|
||||
|
||||
storage-backend = "s3";
|
||||
storage-backend = "local";
|
||||
storage-local-base-path = "/mnt/gts";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
users.users.sammy.packages = with pkgs; [
|
||||
picard
|
||||
discord
|
||||
inkscape
|
||||
osu-lazer-bin
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(import ./gotosocial.nix)
|
||||
];
|
||||
nixpkgs.overlays = [ ];
|
||||
}
|
||||
|
|
|
@ -104,6 +104,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
bat
|
||||
bind.dnsutils
|
||||
comma
|
||||
fd
|
||||
file
|
||||
git
|
||||
|
|
Loading…
Reference in a new issue