2023-02-10 07:46:37 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2023-02-15 21:45:28 +01:00
|
|
|
inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux;
|
2023-02-10 07:46:37 +01:00
|
|
|
in {
|
2024-01-27 14:47:45 +01:00
|
|
|
imports = [./apps ./secrets ./xdg.nix];
|
2023-01-31 09:38:11 +01:00
|
|
|
|
|
|
|
home = {
|
|
|
|
packages = with pkgs; ([
|
2023-05-22 12:11:25 +02:00
|
|
|
_1password
|
2023-06-08 22:55:09 +02:00
|
|
|
age
|
2023-07-04 00:50:11 +02:00
|
|
|
age-plugin-yubikey
|
2023-12-24 03:27:59 +01:00
|
|
|
comma
|
|
|
|
deno
|
2023-02-10 07:46:37 +01:00
|
|
|
fd
|
|
|
|
ffmpeg
|
|
|
|
file
|
2023-06-11 05:17:07 +02:00
|
|
|
gh
|
2023-06-16 05:42:34 +02:00
|
|
|
git-crypt
|
2023-06-11 05:17:07 +02:00
|
|
|
gocryptfs
|
2023-02-10 07:46:37 +01:00
|
|
|
imagemagick
|
2023-05-15 01:01:54 +02:00
|
|
|
just
|
2023-02-10 07:46:37 +01:00
|
|
|
mdcat
|
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
|
2023-07-08 04:45:13 +02:00
|
|
|
wakatime
|
2023-08-25 23:18:11 +02:00
|
|
|
watchexec
|
2023-02-10 07:46:37 +01:00
|
|
|
]
|
2023-11-28 12:21:17 +01:00
|
|
|
++ lib.optionals (config.isGraphical && isLinux) [
|
2023-02-10 07:46:37 +01:00
|
|
|
_1password-gui
|
2023-12-27 23:56:16 +01:00
|
|
|
nur.repos.nekowinston.uhk-agent
|
2024-02-11 16:54:31 +01:00
|
|
|
neovide
|
2023-02-10 07:46:37 +01:00
|
|
|
]);
|
2023-03-07 23:53:05 +01:00
|
|
|
sessionVariables = lib.mkIf isDarwin {
|
|
|
|
SSH_AUTH_SOCK = "${config.programs.gpg.homedir}/S.gpg-agent.ssh";
|
|
|
|
};
|
2023-06-19 23:07:47 +02:00
|
|
|
stateVersion = "23.05";
|
2023-01-31 09:38:11 +01:00
|
|
|
};
|
|
|
|
|
2023-07-08 04:45:13 +02:00
|
|
|
home.mac-wallpaper = ./wallpapers/dhm_1610.png;
|
|
|
|
|
2023-01-31 09:38:11 +01:00
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
man.enable = true;
|
|
|
|
taskwarrior.enable = true;
|
|
|
|
};
|
2023-03-10 09:33:11 +01:00
|
|
|
|
2024-01-27 14:47:45 +01:00
|
|
|
age.secrets."wakatime.cfg".path = "${config.home.homeDirectory}/.wakatime.cfg";
|
2023-01-31 09:38:11 +01:00
|
|
|
}
|