Compare commits

..
2 Commits
4 changed files with 53 additions and 0 deletions

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
{ lib, config, ... }:
let
enabled = config.mod.atuin.enable;
port = 8889;
in
{
options = {
mod.atuin = {
enable = lib.mkEnableOption "Enable atuin module";
};
};
config = lib.mkIf enabled {
services.atuin = {
enable = true;
host = "0.0.0.0";
inherit port;
openFirewall = true;
openRegistration = true;
database.createLocally = true;
};
};
}
+1
View File
@@ -30,6 +30,7 @@ in
solo-referee.enable = true;
todo.enable = true;
schema.enable = true;
atuin.enable = true;
};
};
}
+28
View File
@@ -0,0 +1,28 @@
{ lib, config, ... }:
let
enabled = config.mod.atuin.enable;
in
{
options = {
mod.atuin = {
enable = lib.mkEnableOption "enable atuin module";
};
};
config = lib.mkIf enabled {
home-manager.users.alex = {
programs.atuin = {
enable = true;
enableZshIntegration = true;
settings = {
sync_address = "http://manatee:8889";
auto_sync = true;
sync_frequency = "5m";
};
};
programs.fzf.historyWidget.command = "";
};
};
}
+1
View File
@@ -25,6 +25,7 @@ in
git.enable = true;
zsh.enable = true;
atuin.enable = true;
openvpn.enable = true;