flake/nixos/profiles/common/graphical/home/default.nix
Guanran Wang 4d38591c6e
home: librewolf -> firefox
- LibreWolf uses custom UA when RFP isn't enabled, this leads to inconviences
  and weird beheviour when website detects your browser's UA. For example,
  Google renders with weird styling, installing Firefox Add-ons does not work,
  etc.

- Sandboxing with NixPak does not work with programs.firefox, unsure why.
  But NixPak also breaks hardware video accelerating (on LibreWolf), so
  anyway.

- Also sorted thunderbird's user-override.js and impermanence.nix
2024-02-16 01:03:57 +08:00

59 lines
872 B
Nix

{...}: {
imports =
[
./fonts
./scripts
./wallpapers
./packages.nix
./theme.nix
./xdg-mime.nix
]
++ map (n: ../../../../../home/applications/${n}) [
# Terminal
"alacritty"
# Shell
"fish"
"bash"
# Editor
"helix"
"neovim"
"vscode"
# Browser
"chromium"
#"librewolf"
"firefox"
# Language
"nix"
"go"
# Media
"loupe"
"mpv"
"spotify/spicetify.nix"
"amberol"
"mousai"
# WM
"sway"
# Misc
"thunderbird"
"telegram-desktop"
"nautilus"
"fcitx5"
"irssi"
"mumble"
];
# https://wiki.archlinux.org/title/Fish#Start_X_at_login
programs.fish.loginShellInit = ''
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
exec sway
end
'';
}