dotfiles/modules/profiles/desktop.nix

155 lines
4 KiB
Nix
Raw Normal View History

{ lib
2022-07-15 13:11:54 +02:00
, pkgs
, ...
}:
with lib; {
my = {
yubikey = {
enable = true;
luksSupport = {
enable = true;
devices = [ "enc" ];
};
};
2022-07-15 13:11:54 +02:00
wallpapers.enable = true;
2023-02-11 15:39:45 +01:00
theming = {
enable = true;
scheme = "catppuccin-macchiato";
2022-07-15 13:11:54 +02:00
};
virtualisation = {
podman.enable = true;
libvirtd.enable = true;
};
programs = {
adb.enable = true;
2022-11-26 16:02:02 +01:00
hyprland.enable = true;
2022-07-15 13:11:54 +02:00
code.enable = true;
firefox = {
enable = true;
2022-08-31 11:42:43 +02:00
arkenfox = {
enable = true;
overrides = {
## arkenfox overrides
# automatic search
"keyword.enabled" = true;
"browser.search.suggest.enabled" = true;
"browser.urlbar.suggest.searches" = true;
2022-07-15 13:11:54 +02:00
2022-08-31 11:42:43 +02:00
# startup page
"browser.startup.homepage" = "https://searxng.moritzboeh.me/";
"browser.startup.page" = 1;
2022-07-15 13:11:54 +02:00
2022-08-31 11:42:43 +02:00
# drm
"media.eme.enabled" = true;
2022-07-15 13:11:54 +02:00
2022-08-31 11:42:43 +02:00
# sanitisation
"privacy.clearOnShutdown.history" = false;
2022-07-15 13:11:54 +02:00
2022-08-31 11:42:43 +02:00
# disable letterboxing
"privacy.resistFingerprinting.letterboxing" = false;
2022-07-15 13:11:54 +02:00
2022-08-31 11:42:43 +02:00
## OTHER
# Dont show warning when accessing about:config
"browser.aboutConfig.showWarning" = false;
2022-07-15 13:11:54 +02:00
2022-08-31 11:42:43 +02:00
# Hide bookmarks
"browser.toolbars.bookmarks.visibility" = "never";
2022-07-15 13:11:54 +02:00
2022-08-31 11:42:43 +02:00
# Smooth scrolling
"general.smoothScroll.lines.durationMaxMS" = 125;
"general.smoothScroll.lines.durationMinMS" = 125;
"general.smoothScroll.mouseWheel.durationMaxMS" = 200;
"general.smoothScroll.mouseWheel.durationMinMS" = 100;
"general.smoothScroll.msdPhysics.enabled" = true;
"general.smoothScroll.other.durationMaxMS" = 125;
"general.smoothScroll.other.durationMinMS" = 125;
"general.smoothScroll.pages.durationMaxMS" = 125;
"general.smoothScroll.pages.durationMinMS" = 125;
"mousewheel.min_line_scroll_amount" = 40;
"mousewheel.system_scroll_override_on_root_content.enabled" = true;
"mousewheel.system_scroll_override_on_root_content.horizontal.factor" = 175;
"mousewheel.system_scroll_override_on_root_content.vertical.factor" = 175;
"toolkit.scrollbox.horizontalScrollDistance" = 6;
"toolkit.scrollbox.verticalScrollDistance" = 2;
};
2022-07-15 13:11:54 +02:00
};
};
git.signing = true;
gpg.enable = true;
hub.enable = true;
ledger.enable = true;
2022-10-15 18:21:12 +02:00
logseq.enable = true;
nvim.enable = true;
2023-01-26 10:55:47 +01:00
python.versions."311".enable = true;
2022-11-03 21:03:36 +01:00
ssh = {
enable = true;
includeSecrets = [ ../../secrets/ssh-home.age ];
};
2022-07-15 13:11:54 +02:00
spotify.enable = true;
thunar.enable = true;
zathura.enable = true;
};
services = {
dunst.enable = true;
kdeconnect.enable = true;
2022-09-27 14:10:24 +02:00
mullvad.enable = true;
2022-07-15 13:11:54 +02:00
openconnect.enable = true;
printing.enable = true;
gammastep.enable = true;
2023-02-24 12:08:29 +01:00
wireguard.enable = true;
2022-07-15 13:11:54 +02:00
};
};
environment.systemPackages = with pkgs; [
# nix
2022-08-20 14:11:56 +02:00
nixpkgs-review
2022-07-15 13:11:54 +02:00
# ripping
abcde
2023-03-02 15:15:16 +01:00
handbrake
2022-11-26 11:37:59 +01:00
picard
2022-07-15 13:11:54 +02:00
# other
anki
calibre
jellyfin-media-player
keepassxc
2023-04-05 08:54:30 +02:00
stable.libreoffice # HACK to fix build error
2022-07-15 13:11:54 +02:00
pavucontrol
stable.signal-desktop
2022-07-30 16:31:10 +02:00
tlaplusToolbox
2022-07-15 13:11:54 +02:00
vlc
2022-10-15 20:00:09 +02:00
thunderbird
2022-11-17 08:27:56 +01:00
plantuml
2022-12-23 12:40:37 +01:00
jetbrains.pycharm-professional
synology-drive-client
2023-01-27 11:41:46 +01:00
texlive.combined.scheme-full
2022-07-15 13:11:54 +02:00
];
2023-01-11 10:39:55 +01:00
programs = {
chromium.enable = true;
nix-ld.enable = true;
};
2022-12-23 12:40:37 +01:00
2022-07-15 13:11:54 +02:00
home-manager.users.moritz = {
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
};
services = {
gnome.gnome-keyring.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
};
# Remap capslock to esc and shift + capslock to capslock
xserver.xkbOptions = "terminate:ctrl_alt_bksp,caps:escape_shifted_capslock";
};
}