dotfiles/modules/profiles/work.nix
2022-11-14 08:49:07 +01:00

79 lines
1.5 KiB
Nix

{ config
, lib
, pkgs
, ...
}:
with lib; {
my = {
# config
yubikey.enable = true;
virtualisation = {
podman.enable = true;
libvirtd.enable = true;
};
programs = {
code.enable = true;
firefox.enable = true;
git.identity.email = "moritz.boehme@l.de";
gnome.enable = true;
python = {
enable = true;
versions = [ "python310" "python38" ];
packages = [ ];
};
spotify.enable = true;
thunar.enable = true;
zathura.enable = true;
emacs.enable = true;
};
services = {
kdeconnect.enable = true;
printing.enable = true;
redshift.enable = true;
};
};
environment.systemPackages = with pkgs; [
chromium
fprintd
gnumake
jetbrains.pycharm-professional
keepassxc
libreoffice
logseq
pavucontrol
poetry
slack
vlc
];
networking.networkmanager.enableStrongSwan = true;
home-manager.users.moritz = {
services.unclutter.enable = true;
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";
fprintd = {
enable = true;
tod = {
enable = true;
driver = pkgs.libfprint-2-tod1-vfs0090;
};
};
};
}