63 lines
1.3 KiB
Nix
63 lines
1.3 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
username,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ ./desktop.nix ];
|
|
home-manager.users.${username} = {
|
|
home.packages = with pkgs; [
|
|
kdePackages.ktorrent
|
|
krita
|
|
kdenlive
|
|
helvum
|
|
prusa-slicer
|
|
blender
|
|
freecad
|
|
openscad
|
|
kicad-small
|
|
prismlauncher
|
|
cartridges
|
|
(lutris.override {
|
|
extraPkgs =
|
|
pkg: with pkg; [
|
|
wineWowPackages.waylandFull
|
|
winetricks
|
|
dxvk
|
|
];
|
|
})
|
|
];
|
|
programs.obs-studio = {
|
|
enable = true;
|
|
plugins = with pkgs.obs-studio-plugins; [
|
|
wlrobs
|
|
obs-vkcapture
|
|
obs-pipewire-audio-capture
|
|
input-overlay
|
|
];
|
|
};
|
|
xdg.configFile."autostart/org.kde.ktorrent.desktop".source = "${pkgs.kdePackages.ktorrent}/share/applications/org.kde.ktorrent.desktop";
|
|
};
|
|
boot = {
|
|
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
|
extraModprobeConfig = ''
|
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
|
'';
|
|
};
|
|
hardware = {
|
|
amdgpu.initrd.enable = true;
|
|
opengl = {
|
|
enable = true;
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
};
|
|
steam-hardware.enable = true;
|
|
};
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
gamescopeSession.enable = true;
|
|
};
|
|
}
|