dotfiles/home/default.nix

68 lines
1.3 KiB
Nix
Raw Normal View History

2023-02-10 07:46:37 +01:00
{
config,
2023-03-10 09:33:11 +01:00
flakePath,
2023-02-10 07:46:37 +01:00
lib,
pkgs,
...
}: let
inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux;
2023-02-10 07:46:37 +01:00
in {
2023-05-18 15:10:28 +02:00
imports = [
./apps/browsers.nix
./apps/fonts.nix
./apps/git.nix
./apps/gpg.nix
./apps/i3.nix
./apps/kubernetes.nix
./apps/macos.nix
./apps/mail.nix
./apps/music.nix
./apps/neovim.nix
./apps/newsboat.nix
./apps/rice.nix
./apps/vscode.nix
./apps/wayland.nix
./apps/wezterm.nix
./apps/zsh.nix
./secrets/sops.nix
./xdg.nix
];
home = {
packages = with pkgs; ([
2023-02-10 07:46:37 +01:00
fd
ffmpeg
file
imagemagick
just
2023-02-10 07:46:37 +01:00
mdcat
ranger
ripgrep
git-secret
2023-02-10 09:02:50 +01:00
gh
2023-03-20 23:27:46 +01:00
mosh
2023-04-27 09:30:26 +02:00
podman
podman-compose
qemu
2023-02-10 07:46:37 +01:00
]
++ lib.optionals isLinux [
_1password-gui
2023-05-13 07:04:20 +02:00
kooha
2023-05-18 15:10:28 +02:00
jetbrains.goland
jetbrains.webstorm
2023-02-10 07:46:37 +01:00
]);
sessionVariables = lib.mkIf isDarwin {
SSH_AUTH_SOCK = "${config.programs.gpg.homedir}/S.gpg-agent.ssh";
};
stateVersion = "22.11";
};
programs = {
home-manager.enable = true;
man.enable = true;
taskwarrior.enable = true;
};
2023-03-10 09:33:11 +01:00
xdg.configFile."ideavim/ideavimrc".source = config.lib.file.mkOutOfStoreSymlink "${flakePath}/home/apps/ideavim/ideavimrc";
}