feat: setup atuin server and desktop sync.
This commit is contained in:
parent
e9aaad4684
commit
d94db8d3f5
3 changed files with 36 additions and 0 deletions
|
@ -130,5 +130,17 @@
|
|||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
23
modules/servers/heimdall/atuin.nix
Normal file
23
modules/servers/heimdall/atuin.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -6,5 +6,6 @@
|
|||
./secrets.nix
|
||||
./redlib.nix
|
||||
./beszel-hub.nix
|
||||
./atuin.nix
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue