Skip to content

Commit

Permalink
Enable atuin
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Jul 16, 2024
1 parent f4b2e88 commit 5f8cf3c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 10 additions & 2 deletions home/atuin.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Default configuration file: https://github.com/atuinsh/atuin/blob/803b2fed5ce33cd08bf0c07b376c9a3f1e88f8ba/atuin-client/config.toml#L4
{
programs.atuin = {
enable = false;
lib,
config,
...
}:
with lib; let
cfg = config.me.atuin;
in {
options.me.atuin.enable = mkEnableOption "atuin";
config.programs.atuin = mkIf cfg.enable {
enable = true;
settings = {
enter_accept = false;
dialect = "uk";
Expand Down
1 change: 1 addition & 0 deletions home/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ in {
me =
{
wallpaper = ./wallpapers/sonoma.jpg;
atuin.enable = true;
font-name = "JetBrains Mono";
font-style = "Semibold";
font-size =
Expand Down

0 comments on commit 5f8cf3c

Please sign in to comment.