2024-05-20 18:08:16 +02:00
|
|
|
{
|
|
|
|
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
|
2024-05-29 00:15:32 +02:00
|
|
|
lunar-client
|
2024-05-20 18:08:16 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
# Enable home-manager
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
|
|
|
# Nicely reload system units when changing configs
|
|
|
|
systemd.user.startServices = "sd-switch";
|
|
|
|
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
}
|