diff --git a/nixos/system/desktop/default.nix b/nixos/system/desktop/default.nix index 1021d06..1e2bf9f 100644 --- a/nixos/system/desktop/default.nix +++ b/nixos/system/desktop/default.nix @@ -9,6 +9,7 @@ ./browser.nix ./cachix.nix ./direnv.nix + ./hoard.nix ./dnsmasq.nix ./home-manager.nix ./mail-stuff.nix diff --git a/nixos/system/desktop/hoard.nix b/nixos/system/desktop/hoard.nix new file mode 100644 index 0000000..9600a9b --- /dev/null +++ b/nixos/system/desktop/hoard.nix @@ -0,0 +1,21 @@ +{ config, lib, pkgs, ... }: +let + package = pkgs.unstable.hoard; +in +{ + environment.systemPackages = [ package ]; + + #home-manager.users.mainUser.programs.direnv.enable = true; + + #programs.zsh.interactiveShellInit = '' + # source ${package}/src/shell/hoard.zsh + #''; + #programs.bash.interactiveShellInit = '' + # source ${package}/src/shell/hoard.bash + #''; + + backup.dirs = [ + "${config.users.users.mainUser.home}/.config/hoard" + ]; + +}