2024-06-21 18:09:12 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
2024-06-21 20:15:22 +02:00
|
|
|
let
|
|
|
|
homeDir = "/home/leon";
|
|
|
|
in
|
2024-06-21 18:09:12 +02:00
|
|
|
{
|
|
|
|
# Home Manager needs a bit of information about you and the
|
|
|
|
# paths it should manage.
|
|
|
|
home.username = "leon";
|
2024-06-21 20:15:22 +02:00
|
|
|
home.homeDirectory = homeDir;
|
2024-06-21 18:09:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Packages that should be installed to the user profile.
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
prismlauncher # Minecraft
|
|
|
|
element-desktop # Matrix Desktop Client
|
|
|
|
tidal-hifi # Tidal Web Client
|
|
|
|
helvum # pipewire patchbay
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
programs.bash.enable = true;
|
|
|
|
|
|
|
|
programs.git =
|
|
|
|
{
|
|
|
|
enable = true;
|
|
|
|
userName = "Leon Wilzer";
|
|
|
|
userEmail = "git@komu.boo";
|
|
|
|
aliases = {
|
|
|
|
ci = "commit";
|
|
|
|
co = "checkout";
|
|
|
|
s = "status";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-06-21 20:15:22 +02:00
|
|
|
programs.ssh =
|
|
|
|
let
|
|
|
|
sshDir = "${homeDir}/.ssh";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
enable = true;
|
|
|
|
matchBlocks = {
|
|
|
|
"libre.moe *.libre.moe" = {
|
|
|
|
user = "leon";
|
|
|
|
identityFile = "${sshDir}/libremoe";
|
|
|
|
};
|
|
|
|
"komu.boo *.komu.boo" = {
|
|
|
|
user = "leon";
|
|
|
|
identityFile = "${sshDir}/komuboo";
|
|
|
|
};
|
|
|
|
"uni-paderborn.de upb.de *.uni-paderborn.de *.upb.de" = {
|
|
|
|
user = "lwilzer";
|
|
|
|
identityFile = "${sshDir}/unipaderborn";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-06-21 18:09:12 +02:00
|
|
|
# This value determines the Home Manager release that your
|
|
|
|
# configuration is compatible with. This helps avoid breakage
|
|
|
|
# when a new Home Manager release introduces backwards
|
|
|
|
# incompatible changes.
|
|
|
|
#
|
|
|
|
# You can update Home Manager without changing this value. See
|
|
|
|
# the Home Manager release notes for a list of state version
|
|
|
|
# changes in each release.
|
|
|
|
home.stateVersion = "24.05";
|
|
|
|
|
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
|
|
|
# X11
|
|
|
|
xsession.enable = true;
|
|
|
|
xsession.windowManager.command = "dwm";
|
|
|
|
}
|
|
|
|
|