40 lines
653 B
Nix
40 lines
653 B
Nix
{pkgs, ...}: {
|
|
imports =
|
|
[
|
|
./fonts
|
|
./theme.nix
|
|
./xdg-mime.nix
|
|
]
|
|
++ map (n: ../../../../../home/applications/${n}) [
|
|
"fcitx5"
|
|
"firefox"
|
|
"foot"
|
|
"go"
|
|
"mpv"
|
|
"nautilus"
|
|
"nix"
|
|
"sway"
|
|
];
|
|
|
|
# https://wiki.archlinux.org/title/Fish#Start_X_at_login
|
|
programs.fish.loginShellInit = ''
|
|
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
|
|
exec sway
|
|
end
|
|
'';
|
|
|
|
home.packages =
|
|
(with pkgs; [
|
|
loupe
|
|
])
|
|
++ (with pkgs.gnome; [
|
|
seahorse
|
|
file-roller
|
|
gnome-calculator
|
|
dconf-editor
|
|
]);
|
|
|
|
services = {
|
|
ssh-agent.enable = true;
|
|
};
|
|
}
|