mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
added atuin server exception
This commit is contained in:
parent
c334804585
commit
804c9fe070
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
{config, pkgs, atuin, ...}:
|
{osConfig, config, pkgs, atuin, ...}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
hostname = osConfig.networking.hostName;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.atuin = {
|
programs.atuin = {
|
||||||
|
@ -13,7 +14,8 @@ in
|
||||||
settings = {
|
settings = {
|
||||||
auto_sync = true;
|
auto_sync = true;
|
||||||
sync_frequency = "20m";
|
sync_frequency = "20m";
|
||||||
sync_address = "https://atuin.nickiel.net";
|
sync_address = if (hostname == "Alaska") then "http://127.0.0.1:8910"
|
||||||
|
else "https://atuin.nickiel.net";
|
||||||
# filter_mode = "global" | "host" | "session" | "directory"
|
# filter_mode = "global" | "host" | "session" | "directory"
|
||||||
inline_height = 40;
|
inline_height = 40;
|
||||||
show_preview = true;
|
show_preview = true;
|
||||||
|
|
Loading…
Reference in a new issue