helm/hosts/box/default.nix

36 lines
888 B
Nix
Raw Normal View History

{ self, profiles, suites, ... }:
2022-04-23 21:57:29 -07:00
{
imports = [
./configuration.nix
2022-04-23 22:06:57 -07:00
] ++ suites.mossnet;
2022-04-23 21:57:29 -07:00
home-manager.users.anish = { self, suites, ... }: {
imports = [ ] ++ suites.hmBase;
};
2022-05-16 05:53:38 -07:00
# For some reason this doesn't work in the profile, but does over here??
services."grasp".enable = true;
services."grasp".path = "/home/anish/kitaab/grasp";
services."grasp".user = "anish";
2022-06-13 23:06:42 -07:00
# Backups
age.secrets.borg-password.file = "${self}/secrets/borg-password.age";
services.postgresqlBackup = {
enable = true;
databases = [ "wallabag" ];
location = "/var/backup/postgresql";
};
mossnet.backup = {
enable = true;
name = "mossnet";
paths = [
"/var/lib/taskserver" # taskwarrior
"/var/www/shaarli-config" # sharli
"/var/backup/postgresql" # wallabag
"/var/lib/radicale" # radicale
];
# seafile?
# syncthing
};
2022-04-23 21:57:29 -07:00
}