puzzlevision/users/gaming/home.nix
Jo 339bd28d1d [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>
2024-05-20 18:08:16 +02:00

42 lines
688 B
Nix

{
inputs,
lib,
config,
pkgs,
outputs,
...
}: {
imports = [
./desktop/plasma.nix
];
nixpkgs = {
config = {
allowUnfree = true;
# Workaround for https://github.com/nix-community/home-manager/issues/2942
allowUnfreePredicate = _: true;
};
};
# Username and home directory
home = {
username = "gaming";
homeDirectory = "/home/gaming";
};
# General packages
home.packages = with pkgs; [
lutris
vesktop
steam
];
# Enable home-manager
programs.home-manager.enable = true;
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
home.stateVersion = "23.05";
}