dotfiles/home/default.nix

60 lines
1.2 KiB
Nix
Raw Normal View History

2023-02-10 07:46:37 +01:00
{
config,
lib,
pkgs,
...
}: let
inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux;
2023-02-10 07:46:37 +01:00
in {
2023-07-01 01:04:34 +02:00
imports = [./apps ./langs ./secrets/sops.nix ./xdg.nix];
home = {
packages = with pkgs; ([
2023-05-22 12:11:25 +02:00
_1password
2023-06-08 22:55:09 +02:00
age
age-plugin-yubikey
2023-02-10 07:46:37 +01:00
fd
ffmpeg
file
gh
2023-06-16 05:42:34 +02:00
git-crypt
gocryptfs
2023-02-10 07:46:37 +01:00
imagemagick
just
2023-02-10 07:46:37 +01:00
mdcat
mosh
2023-07-08 05:42:16 +02:00
nix-output-monitor
2023-07-10 04:59:44 +02:00
nur.repos.nekowinston.icat
2023-07-08 05:42:16 +02:00
nvd
2023-02-10 07:46:37 +01:00
ranger
ripgrep
sops
wakatime
2023-02-10 07:46:37 +01:00
]
++ lib.optionals isLinux [
(discord.override {
withOpenASAR = true;
withTTS = true;
})
2023-02-10 07:46:37 +01:00
_1password-gui
2023-05-18 15:10:28 +02:00
jetbrains.goland
jetbrains.webstorm
2023-08-17 04:31:21 +02:00
nekowinston-nur.uhk-agent
2023-02-10 07:46:37 +01:00
]);
sessionVariables = lib.mkIf isDarwin {
SSH_AUTH_SOCK = "${config.programs.gpg.homedir}/S.gpg-agent.ssh";
};
stateVersion = "23.05";
};
home.mac-wallpaper = ./wallpapers/dhm_1610.png;
programs = {
home-manager.enable = true;
man.enable = true;
taskwarrior.enable = true;
};
2023-03-10 09:33:11 +01:00
sops.secrets."wakatime-cfg".path = "${config.xdg.configHome}/wakatime/.wakatime.cfg";
}