1
1
Fork 0

profiles: update nixos config

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-10-09 17:39:14 -05:00
parent 30145e16d8
commit 4d7d75ca03
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 18 additions and 18 deletions

View file

@ -1,4 +1,4 @@
{ {config, ...}: {
custom = { custom = {
profile = "sbc"; profile = "sbc";
programs.fastfetch.greet = true; programs.fastfetch.greet = true;
@ -10,11 +10,11 @@
}; };
services = { services = {
tailscale.cert = true; #// tailscale.cert = true;
borgmatic = { borgmatic = {
enable = true; enable = true;
sources = ["/containers"]; sources = [config.custom.containers.directory];
repositories = [ repositories = [
{ {

View file

@ -1,4 +1,4 @@
{ {config, ...}: {
custom = { custom = {
profile = "server"; profile = "server";
programs.fastfetch.greet = true; programs.fastfetch.greet = true;
@ -6,7 +6,7 @@
containers = { containers = {
enable = true; enable = true;
boot = true; boot = true;
actualbudget.enable = true; #// actualbudget.enable = true;
coturn.enable = true; coturn.enable = true;
forgejo.enable = true; forgejo.enable = true;
foundryvtt.enable = true; foundryvtt.enable = true;
@ -22,21 +22,23 @@
caddy.enable = true; caddy.enable = true;
matrix-conduit.enable = true; matrix-conduit.enable = true;
#// modufur.enable = true; #// modufur.enable = true;
tailscale.cert = true; #// tailscale.cert = true;
borgmatic = { borgmatic = {
enable = true; enable = true;
sources = [ sources = [
"/containers" config.custom.containers.directory
"/home" "/home"
"/mnt/remote" "/mnt/local"
"/srv" "/srv"
"/var/lib/matrix-conduit"
]; ];
repositories = [ repositories = [
{ {
path = "ssh://n882bnik@n882bnik.repo.borgbase.com/./repo"; path = "ssh://ysrll00y@ysrll00y.repo.borgbase.com/./repo";
label = "myarm"; label = "server";
} }
]; ];
}; };
@ -49,19 +51,17 @@
syncthing = { syncthing = {
enable = true; enable = true;
configDir = "/var/lib/syncthing"; configDir = "/var/lib/syncthing";
dataDir = "/mnt/remote/syncthing"; dataDir = "/mnt/local/syncthing";
ignorePerms = true; # Mount permissions are forced mount = "mnt-local.mount";
mount = "mnt-remote-syncthing.mount";
type = "receiveonly"; type = "receiveonly";
user = "syncthing"; user = "syncthing";
group = "syncthing"; group = "syncthing";
}; };
}; };
settings = { # settings = {
boot.systemd-boot = true; # mounts.enable = true;
mounts.enable = true; # #// users.myned.linger = true;
users.myned.linger = true; # };
};
}; };
} }