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

58 lines
832 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
./wallpapers
./theme.nix
./xdg-mime.nix
]
2024-01-17 04:47:27 +00:00
++ map (n: ../../../../../home/applications/${n}) [
2023-11-28 05:40:22 +00:00
# Terminal
"alacritty"
# Editor
"neovim"
2024-02-29 19:17:14 +00:00
# "helix"
# "vscode"
2023-11-28 05:40:22 +00:00
# Browser
"firefox"
2024-02-29 19:17:14 +00:00
# "chromium"
# "librewolf"
2023-11-28 05:40:22 +00:00
# Language
"nix"
"go"
# Media
"loupe"
"mpv"
# WM
"sway"
# Misc
2023-12-11 16:37:21 +00:00
"nautilus"
2023-11-29 10:18:56 +00:00
"fcitx5"
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
home.packages = with pkgs.gnome; [
seahorse
file-roller
gnome-calculator
dconf-editor
];
services = {
ssh-agent.enable = true;
};
2023-11-14 03:22:17 +00:00
}