.dotfiles/nix/home/linux.nix
2026-03-07 11:46:44 +01:00

73 lines
1 KiB
Nix

{
pkgs,
config,
...
}:
let
utils = import ../utils.nix;
dotfiles = [
[
".config/sway"
"sway"
]
[
".config/wofi"
"wofi"
]
[
".config/mako"
"mako"
]
];
pythonEnv = pkgs.python3.withPackages (
ps: with ps; [
i3ipc
]
);
in
{
imports = [
./common/theming.nix
];
programs = {
zsh.initContent = ''
# Initialize keychain - will handle keys on-demand
eval $(keychain --eval --agents ssh)
'';
};
home = {
packages = with pkgs; [
pythonEnv
wl-clipboard-rs
gimp3
ghostty
thunderbird
wofi
grim
slurp
pavucontrol
easyeffects
blueman
playerctl
mako
bitwarden-cli
sway-audio-idle-inhibit
imv
keychain
wtype
kdePackages.qtsvg
kdePackages.dolphin
nextcloud-client
];
file = utils.mk_symlinks { inherit config dotfiles; };
};
services = {
mako.enable = true;
ssh-agent.enable = true;
};
}