dotfiles/modules/profiles/work.nix

42 lines
832 B
Nix

{ lib
, pkgs
, config
, ...
}:
with lib;
let
cfg = config.my.profiles.work;
in
{
options.my.profiles.work.enable = mkEnableOption "work profile";
config = mkIf cfg.enable {
my = {
programs = {
ssh.enable = mkForce false;
git.identity.email = mkDefault "moritz.boehme@l.de";
hyprland = {
blur = mkDefault false;
};
miracast.enable = mkDefault true;
python.versions = {
# "38".enable = mkDefault true;
"310".enable = mkDefault true;
"311".enable = mkDefault true;
};
};
};
environment.systemPackages = with pkgs; [
file
gnumake
insomnia
jetbrains.pycharm-professional
logseq
pavucontrol
poetry
];
networking.networkmanager.enableStrongSwan = true;
};
}