config/modules/profiles/desktop/default.nix

108 lines
2.2 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 14:42:55 +03:00
programs.firefox.enable = true;
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-15 15:53:07 +03:00
layout = "us,lt";
xkbOptions = "grp:alt_shift_toggle";
2023-09-15 22:04:03 +03:00
displayManager = {
sddm.enable = true;
defaultSession = "none+awesome";
};
windowManager.awesome = {
enable = true;
};
2023-09-14 21:58:06 +03:00
desktopManager.xfce.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:43:56 +03:00
pdftk
2023-09-15 14:39:04 +03:00
yt-dlp
2023-09-15 22:04:03 +03:00
arandr
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
2023-09-15 15:06:55 +03:00
rox-filer
2023-09-15 22:04:03 +03:00
pavucontrol
2023-09-15 15:04:11 +03:00
graphicsmagick
2023-09-15 14:59:00 +03:00
joplin-desktop
2023-09-15 13:01:20 +03:00
signal-desktop
element-desktop
gnome.nautilus
gnome.gnome-calculator
gnome.gnome-calendar
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, ...}: {
2023-09-15 15:49:01 +03:00
services.gpg-agent = {
enable = true;
enableSshSupport = true;
};
2023-09-15 22:05:30 +03:00
programs.autorandr = {
enable = true;
};
2023-09-15 14:39:04 +03:00
programs.firefox = {
enable = true;
profiles = {
xdefault = {
isDefault = true;
#search.default = "DuckDuckGo";
2023-09-15 14:39:04 +03:00
settings = {
"browser.contentblocking.category" = "strict";
"layout.css.prefers-color-scheme.content-override" = 0;
2023-09-15 14:56:37 +03:00
"browser.aboutConfig.showWarning" = false;
"signon.rememberSignons" = false;
"signon.management.page.breach-alerts.enabled" = false;
2023-09-15 14:39:04 +03:00
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
2023-09-15 14:56:37 +03:00
bitwarden
2023-09-15 14:39:04 +03:00
ublock-origin
joplin-web-clipper
2023-09-15 14:56:37 +03:00
multi-account-containers
2023-09-15 14:39:04 +03:00
];
};
};
};
};
2023-09-14 21:52:10 +03:00
};
}