mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 21:29:12 +02:00
wip: migrate client modules
This commit is contained in:
parent
f6d2ff1544
commit
7ce27d5d2f
245 changed files with 20254 additions and 188 deletions
19
modules-clone/home/common/atuin.nix
Normal file
19
modules-clone/home/common/atuin.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ lib, config, globals, ... }:
|
||||
let
|
||||
atuinDomain = globals.services.atuin.domain;
|
||||
in
|
||||
{
|
||||
options.swarselmodules.atuin = lib.mkEnableOption "atuin settings";
|
||||
config = lib.mkIf config.swarselmodules.atuin {
|
||||
programs.atuin = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
enableBashIntegration = true;
|
||||
settings = {
|
||||
auto_sync = true;
|
||||
sync_frequency = "5m";
|
||||
sync_address = "https://${atuinDomain}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue