flake/nixos/profiles/common/graphical/home/default.nix

38 lines
601 B
Nix
Raw Normal View History

2024-02-29 19:17:14 +00:00
{pkgs, ...}: {
2023-11-28 05:40:22 +00:00
imports =
[
./fonts
./theme.nix
./xdg-mime.nix
]
2024-01-17 04:47:27 +00:00
++ map (n: ../../../../../home/applications/${n}) [
2024-06-14 23:25:48 +00:00
"fcitx5"
"firefox"
2024-06-23 07:31:24 +00:00
"foot"
2023-11-28 05:40:22 +00:00
"go"
"mpv"
2023-12-11 16:37:21 +00:00
"nautilus"
2024-06-14 23:25:48 +00:00
"nix"
"sway"
2023-11-28 05:40:22 +00:00
];
2023-12-08 15:44:35 +00:00
# https://wiki.archlinux.org/title/Fish#Start_X_at_login
programs.fish.loginShellInit = ''
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
exec sway
end
'';
2024-02-29 19:17:14 +00:00
2024-07-07 12:25:57 +00:00
home.packages = with pkgs; [
loupe
gnome-calculator
seahorse
file-roller
dconf-editor
];
2024-02-29 19:17:14 +00:00
services = {
ssh-agent.enable = true;
};
2023-11-14 03:22:17 +00:00
}