dotfiles/modules/profiles/desktop.nix

85 lines
2.0 KiB
Nix
Raw Normal View History

{ lib
2023-05-11 17:33:14 +02:00
, config
2022-07-15 13:11:54 +02:00
, pkgs
, ...
}:
2023-05-11 17:33:14 +02:00
with lib;
let
cfg = config.my.profiles.desktop;
in
{
options.my.profiles.desktop.enable = mkEnableOption "desktop profile";
config = mkIf cfg.enable {
my = {
yubikey = {
enable = mkDefault true;
2023-05-11 17:33:14 +02:00
luksSupport = {
enable = mkDefault true;
devices = mkDefault [ "enc" ];
};
};
2023-05-11 17:33:14 +02:00
wallpapers.enable = mkDefault true;
theming = {
enable = mkDefault true;
scheme = mkDefault "catppuccin-macchiato";
};
virtualisation.podman.enable = mkDefault true;
2022-07-15 13:11:54 +02:00
2023-05-11 17:33:14 +02:00
programs = {
chromium.enable = mkDefault true;
firefox.enable = mkDefault true;
gpg.enable = mkDefault true;
hyprland.enable = mkDefault true;
logseq.enable = mkDefault true;
nvim.enable = mkDefault true;
python.versions."311".enable = mkDefault true;
spotify.enable = mkDefault true;
ssh.enable = mkDefault true;
thunar.enable = mkDefault true;
wallpaper.enable = mkDefault true;
zathura.enable = mkDefault true;
};
services = {
dunst.enable = mkDefault true;
gammastep.enable = true;
kdeconnect.enable = mkDefault true;
printing.enable = true;
wireguard.enable = true;
};
2022-07-15 13:11:54 +02:00
};
2023-05-11 17:33:14 +02:00
environment.systemPackages = with pkgs; [
anki
calibre
keepassxc
nixpkgs-review
pavucontrol
2023-06-10 10:23:31 +02:00
stable.libreoffice # NOTE breaks often
stable.signal-desktop # NOTE breaks often
stable.texlive.combined.scheme-full # NOTE breaks often
2023-05-11 17:33:14 +02:00
thunderbird
vlc
];
2022-07-15 13:11:54 +02:00
2023-05-11 17:33:14 +02:00
programs.nix-ld.enable = true;
2022-12-23 12:40:37 +01:00
2023-05-11 17:33:14 +02:00
home-manager.users.moritz = {
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
2022-07-15 13:11:54 +02:00
};
2023-05-11 17:33:14 +02:00
services = {
illum.enable = true;
2023-05-11 17:33:14 +02:00
gnome.gnome-keyring.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
};
2022-07-15 13:11:54 +02:00
};
};
}