config/modules/profiles/desktop/default.nix

85 lines
1.7 KiB
Nix
Raw Normal View History

2023-09-14 21:52:10 +03:00
{
config,
lib,
pkgs,
...
}: {
config = {
services.udev.packages = [pkgs.yubikey-personalization];
2023-09-15 12:33:09 +03:00
programs = {
2023-09-15 14:39:04 +03:00
#firefox = {
# enable = true;
# languagePacks = ["en-US" "lt" "de"];
#};
2023-09-14 21:52:10 +03:00
};
mj.base.users.passwd.motiejus.extraGroups = ["networkmanager"];
services = {
2023-09-15 13:27:12 +03:00
pcscd.enable = true;
2023-09-14 21:52:10 +03:00
xserver = {
enable = true;
2023-09-14 21:58:06 +03:00
desktopManager.xfce.enable = true;
displayManager.lightdm.enable = true;
};
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
2023-09-14 21:52:10 +03:00
};
};
2023-09-14 21:58:06 +03:00
security.rtkit.enable = true;
2023-09-14 21:52:10 +03:00
networking.networkmanager.enable = true;
2023-09-14 21:58:06 +03:00
environment.systemPackages = with pkgs; [
2023-09-15 13:01:20 +03:00
vlc
gimp
qgis
josm
2023-09-15 14:39:04 +03:00
joplin
yt-dlp
2023-09-15 13:01:20 +03:00
pandoc
evince
2023-09-15 14:39:04 +03:00
rtorrent
2023-09-15 13:01:20 +03:00
gpicview
signal-desktop
element-desktop
gnome.nautilus
gnome.gnome-calculator
gnome.gnome-calendar
2023-09-14 21:58:06 +03:00
pavucontrol
2023-09-15 13:01:20 +03:00
libreoffice-qt
hunspell
hunspellDicts.en_US
2023-09-14 21:58:06 +03:00
];
2023-09-15 14:39:04 +03:00
home-manager.users.motiejus = {pkgs, ...}: {
programs.firefox = {
enable = true;
package = pkgs.firefox-devedition;
profiles = {
xdefault = {
isDefault = true;
search.default = "DuckDuckGo";
settings = {
"browser.contentblocking.category" = "strict";
"layout.css.prefers-color-scheme.content-override" = 0;
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
joplin-web-clipper
];
};
};
};
};
2023-09-14 21:52:10 +03:00
};
}