feat: setup atuin server and desktop sync.

This commit is contained in:
CronyAkatsuki 2025-08-14 19:40:34 +02:00
parent e9aaad4684
commit d94db8d3f5
3 changed files with 36 additions and 0 deletions

View file

@ -130,5 +130,17 @@
program = "pinentry-gtk-2"; program = "pinentry-gtk-2";
}; };
}; };
# Install and setup atuin
programs.atuin = {
enable = true;
daemon.enable = true;
enableZshIntegration = true;
settings = {
auto_sync = true;
sync_frequency = "5m";
sync_address = "https://atuin.cronyakatsuki.xyz";
};
};
}; };
} }

View file

@ -0,0 +1,23 @@
{
services.atuin = {
enable = true;
openRegistration = false;
};
services.traefik.dynamicConfigOptions.http = {
services.atuin.loadBalancer.servers = [
{
url = "http://localhost:8888";
}
];
routers.atuin = {
rule = "Host(`atuin.cronyakatsuki.xyz`)";
tls = {
certResolver = "porkbun";
};
service = "atuin";
entrypoints = "websecure";
};
};
}

View file

@ -6,5 +6,6 @@
./secrets.nix ./secrets.nix
./redlib.nix ./redlib.nix
./beszel-hub.nix ./beszel-hub.nix
./atuin.nix
]; ];
} }