🚀 add work host and profile
This commit is contained in:
parent
590c3d41fe
commit
d1df706826
4 changed files with 282 additions and 0 deletions
75
modules/profiles/work.nix
Normal file
75
modules/profiles/work.nix
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
{ config
|
||||
, lib
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
with lib; {
|
||||
my = {
|
||||
# config
|
||||
yubikey.enable = true;
|
||||
|
||||
virtualisation = {
|
||||
podman.enable = true;
|
||||
libvirtd.enable = true;
|
||||
};
|
||||
|
||||
programs = {
|
||||
gnome.enable = true;
|
||||
code.enable = true;
|
||||
emacs.enable = true;
|
||||
firefox.enable = true;
|
||||
kitty.enable = true;
|
||||
rofi.enable = true;
|
||||
spotify.enable = true;
|
||||
thunar.enable = true;
|
||||
zathura.enable = true;
|
||||
git.identity.email = "moritz.boehme@l.de";
|
||||
};
|
||||
|
||||
services = {
|
||||
kdeconnect.enable = true;
|
||||
printing.enable = true;
|
||||
redshift.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
jetbrains.pycharm-professional
|
||||
keepassxc
|
||||
libreoffice
|
||||
logseq
|
||||
pavucontrol
|
||||
python310-dev
|
||||
python38-dev
|
||||
slack
|
||||
vlc
|
||||
fprintd
|
||||
];
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue