[general] add work and gaming user, tweak configs

feat: added new ssh configuration modules for home-manager

feat: add user work with configurations for my work environment

feat: added gaming user with configuration for my gaming enviornment eg. lutris and steam
Signed-off-by: Jo <johannesreckers2006@gmail.com>
This commit is contained in:
Jo 2024-05-20 18:08:16 +02:00
parent 75e635ad4b
commit 339bd28d1d
14 changed files with 280 additions and 58 deletions

View file

@ -0,0 +1,11 @@
{
themes = {
gruvbox = {
plasma = import ./themes/gruvbox/plasma.nix;
};
};
development = {
ssh = import ./development/ssh.nix;
};
}

View file

@ -0,0 +1,42 @@
{
pkgs,
config,
...
}: let
sshDir = "${config.home.homeDirectory}/.ssh";
in {
home.packages = with pkgs; [
openssh
];
services.ssh-agent.enable = true;
programs.ssh = {
enable = true;
extraConfig = ''
AddKeysToAgent yes
'';
matchBlocks = {
"github.com" = {
identityFile = "${sshDir}/id_ed25519";
identitiesOnly = true;
user = "git";
};
"gitlab.com" = {
identityFile = "${sshDir}/id_ed25519";
identitiesOnly = true;
user = "git";
};
"bitbucket.org" = {
identityFile = "${sshDir}/id_ed25519";
identitiesOnly = true;
user = "git";
};
};
};
}

View file

@ -1,6 +1,9 @@
{
inputs,
pkgs,
outputs
outputs,
lib,
...
}: {
home.packages = with pkgs; [
tela-icon-theme

View file

@ -0,0 +1,7 @@
{
desktop = {
kde = import ./desktop/kde.nix;
gnome = import ./desktop/gnome.nix;
cosmic = import ./desktop/cosmic.nix;
};
}

View file

@ -17,9 +17,8 @@
# Enable KDE-Connect
programs.kdeconnect.enable = true;
# On-screen keyboard and automatic screen rotation dependencies
# On-screen keyboard dependency
environment.systemPackages = with pkgs; [
maliit-keyboard
iio-sensor-proxy
];
}