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

59 lines
863 B
Nix
Raw Normal View History

2023-11-14 03:22:17 +00:00
{...}: {
2023-11-28 05:40:22 +00:00
imports =
[
./fonts
./scripts
./wallpapers
./packages.nix
./theme.nix
./xdg-mime.nix
]
++ map (n: ../../../../../home-manager/applications/${n}) [
2023-11-28 05:40:22 +00:00
# Terminal
"alacritty"
# Shell
"fish"
"bash"
# Editor
"helix"
"neovim"
"vscode"
# Browser
"chromium"
"librewolf"
# Language
"nix"
"go"
# Media
"loupe"
"mpv"
2023-11-29 18:38:05 +00:00
"spotify/spicetify.nix"
2023-11-28 05:40:22 +00:00
"amberol"
"mousai"
# WM
"sway"
# Misc
2024-01-07 15:45:20 +00:00
"thunderbird"
"telegram-desktop"
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
"irssi"
"mumble"
];
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
'';
2023-11-14 03:22:17 +00:00
}