From e60a3d3fc598f52ef9197d22be907a8ecb5ed110 Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Tue, 15 Mar 2022 22:47:50 -0700 Subject: [PATCH] add dura to universal, start on login --- nix/home/programs/dura/default.nix | 11 +++++++++++ nix/home/universal.nix | 1 + 2 files changed, 12 insertions(+) create mode 100644 nix/home/programs/dura/default.nix diff --git a/nix/home/programs/dura/default.nix b/nix/home/programs/dura/default.nix new file mode 100644 index 0000000..d602b87 --- /dev/null +++ b/nix/home/programs/dura/default.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: + +with builtins; { + home.packages = with pkgs; [ + dura + ]; + + programs.zsh.loginExtra = '' + dura serve & + ''; +} diff --git a/nix/home/universal.nix b/nix/home/universal.nix index 2accc9c..1b785dd 100644 --- a/nix/home/universal.nix +++ b/nix/home/universal.nix @@ -37,6 +37,7 @@ with builtins; imports = [ (import ./programs/direnv) + (import ./programs/dura) (import ./programs/git) (import ./programs/zsh) (import ./programs/tmux)