2023-02-10 07:46:37 +01:00
|
|
|
{
|
|
|
|
config,
|
2024-05-31 03:10:39 +02:00
|
|
|
flakePath,
|
2023-02-10 07:46:37 +01:00
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-05-07 18:20:52 +02:00
|
|
|
}:
|
|
|
|
let
|
2023-02-15 21:45:28 +01:00
|
|
|
inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux;
|
2024-05-07 18:20:52 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./apps
|
|
|
|
./secrets
|
|
|
|
./xdg.nix
|
|
|
|
];
|
2023-01-31 09:38:11 +01:00
|
|
|
|
|
|
|
home = {
|
2024-05-07 18:20:52 +02:00
|
|
|
packages =
|
|
|
|
with pkgs;
|
|
|
|
(
|
|
|
|
[
|
|
|
|
_1password
|
|
|
|
age
|
|
|
|
age-plugin-yubikey
|
|
|
|
deno
|
|
|
|
fd
|
|
|
|
ffmpeg
|
|
|
|
file
|
|
|
|
gh
|
|
|
|
git-crypt
|
|
|
|
gocryptfs
|
|
|
|
imagemagick
|
|
|
|
just
|
|
|
|
mdcat
|
|
|
|
nix-output-monitor
|
|
|
|
nur.repos.nekowinston.icat
|
|
|
|
nvd
|
|
|
|
ranger
|
|
|
|
ripgrep
|
|
|
|
watchexec
|
|
|
|
]
|
|
|
|
++ lib.optionals (config.isGraphical && isLinux) [
|
|
|
|
_1password-gui
|
|
|
|
uhk-agent
|
|
|
|
neovide
|
|
|
|
]
|
|
|
|
);
|
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;
|
2024-06-20 08:28:16 +02:00
|
|
|
xdg.configFile.sketchybar.source = lib.mkIf isDarwin ./apps/sketchybar;
|
2023-07-08 04:45:13 +02:00
|
|
|
|
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-05-21 18:00:32 +02:00
|
|
|
age.secrets."wakatime.cfg".path = "${config.home.sessionVariables.WAKATIME_HOME}/.wakatime.cfg";
|
2023-01-31 09:38:11 +01:00
|
|
|
}
|