nixos/hosts/Monarch/home.nix
Evie Litherland-Smith 22929fa5d8 Add gpg and password-store to Monarch
Only set git credential.helper if using password-store
2023-08-31 08:21:21 +01:00

38 lines
862 B
Nix

{ pkgs, ... }:
let
username = "tux";
homeDirectory = "/Users/${username}";
in {
imports = [
../../home/shell/zsh.nix
../../home/git
../../home/ssh
../../home/tui
../../home/tmux
../../home/alacritty
../../home/emacs
];
home = {
inherit username homeDirectory;
stateVersion = "23.05";
packages = with pkgs; [ coreutils-prefixed ];
};
programs = {
home-manager.enable = true;
zsh = {
sessionVariables.CC = "${pkgs.gcc}/bin/gcc";
envExtra = ''
eval "$(/opt/homebrew/bin/brew shellenv)"
'';
};
emacs.package = pkgs.emacs29;
gpg.enable = true;
password-store = {
enable = true;
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
settings.PASSWORD_STORE_DIR = "$HOME/.password-store";
};
};
services.syncthing.enable = true;
}