os/modules/desktop-extended/default.nix

74 lines
1.5 KiB
Nix

{
lib,
config,
pkgs,
...
}:
with lib; let
psCfg = config.pub-solar;
in {
# Needed for the udev rules for solaar
hardware.logitech.wireless.enable = true;
users.users."${psCfg.user.name}".packages = with pkgs; [
wine
gimp
present-md
inkscape
gpxsee
nix-output-monitor
tigervnc
nodejs
solaar
insomnia
signal-desktop
tdesktop
element-desktop
# Nix specific utilities
alejandra
manix
nix-index
nix-tree
nvd
];
programs.firejail.wrappedBinaries = {
chromium = {
executable = "${pkgs.lib.getBin pkgs.ungoogled-chromium}/bin/chromium";
profile = "${pkgs.firejail}/etc/firejail/chromium.profile";
};
# signal-desktop = {
# executable = "${pkgs.lib.getBin pkgs.signal-desktop}/bin/signal-desktop";
# profile = "${pkgs.firejail}/etc/firejail/signal-desktop.profile";
# };
# telegram-desktop = {
# executable = "${pkgs.lib.getBin pkgs.tdesktop}/bin/telegram-desktop";
# profile = "${pkgs.firejail}/etc/firejail/telegram-desktop.profile";
# };
# element-desktop = {
# executable = "${pkgs.lib.getBin pkgs.element-desktop}/bin/element-desktop";
# profile = "${pkgs.firejail}/etc/firejail/element-desktop.profile";
# };
};
fonts = {
packages = with pkgs; [
dejavu_fonts
fira-code
fira-code-symbols
google-fonts
lato
montserrat
nerdfonts
noto-fonts
noto-fonts-cjk
open-sans
powerline-fonts
source-sans-pro
];
};
}