nixos-config/linux/protostar/gui.nix
2024-08-31 21:16:40 -07:00

55 lines
973 B
Nix

{
config,
inputs,
pkgs,
...
}: let
userName = config.constants.userName;
jovianPkgs = pkgs.extend inputs.jovian.overlays.default;
in {
home-manager.users.${userName} = {
home.packages = with jovianPkgs; [
feishin
lutris
maliit-keyboard
(retroarch.override {
cores = with libretro; [
pcsx2
ppsspp
];
})
ryujinx
winetricks
wineWowPackages.stagingFull
];
};
jovian = {
devices.steamdeck = {
enable = true;
autoUpdate = true;
};
steam = {
enable = true;
autoStart = true;
desktopSession = "plasma";
user = userName;
};
};
services = {
desktopManager.plasma6.enable = true;
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
};
};
hardware = {
bluetooth.enable = true;
graphics.enable = true;
};
}