From a07ddd315c890ecdd26c8c2caaa3b1a63a90ff04 Mon Sep 17 00:00:00 2001 From: Toast Date: Fri, 22 Mar 2024 10:30:38 +0100 Subject: [PATCH] Common: add atuin --- roles/common/programs/atuin.nix | 15 +++++++++++++++ roles/common/programs/default.nix | 1 + 2 files changed, 16 insertions(+) create mode 100644 roles/common/programs/atuin.nix diff --git a/roles/common/programs/atuin.nix b/roles/common/programs/atuin.nix new file mode 100644 index 0000000..ecfe0b9 --- /dev/null +++ b/roles/common/programs/atuin.nix @@ -0,0 +1,15 @@ +{...}: { + home-manager.users.toast.programs.atuin = { + enable = true; + settings = { + enter_accept = false; + workspaces = true; + stats = { + common_prefix = [ + "sudo" + "," + ]; + }; + }; + }; +} diff --git a/roles/common/programs/default.nix b/roles/common/programs/default.nix index feff14d..2f0dd22 100755 --- a/roles/common/programs/default.nix +++ b/roles/common/programs/default.nix @@ -13,6 +13,7 @@ ./btop.nix ./helix.nix ./direnv.nix + ./atuin.nix ]; # Some programs dont have a programs.*.enable option, so I install their package here environment.systemPackages = with pkgs; [