2024-07-30 15:06:34 +01:00
|
|
|
{
|
2024-08-30 12:57:02 +01:00
|
|
|
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
|
|
|
|
];
|
|
|
|
};
|
2024-09-02 08:33:16 +01:00
|
|
|
xdg.configFile."autostart/org.kde.ktorrent.desktop".source = "${pkgs.kdePackages.ktorrent}/share/applications/org.kde.ktorrent.desktop";
|
2024-08-30 12:57:02 +01:00
|
|
|
};
|
2024-03-23 06:49:46 +00:00
|
|
|
boot = {
|
2024-07-30 15:06:34 +01:00
|
|
|
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
2024-03-23 06:49:46 +00:00
|
|
|
extraModprobeConfig = ''
|
|
|
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
|
|
|
'';
|
|
|
|
};
|
2024-05-21 19:24:24 +01:00
|
|
|
hardware = {
|
2024-08-30 12:57:02 +01:00
|
|
|
amdgpu.initrd.enable = true;
|
2024-05-21 19:24:24 +01:00
|
|
|
opengl = {
|
2024-08-30 12:57:02 +01:00
|
|
|
enable = true;
|
2024-05-21 19:24:24 +01:00
|
|
|
driSupport = true;
|
|
|
|
driSupport32Bit = true;
|
|
|
|
};
|
|
|
|
steam-hardware.enable = true;
|
2024-03-23 06:49:46 +00:00
|
|
|
};
|
2024-05-27 19:18:30 +01:00
|
|
|
programs.steam = {
|
|
|
|
enable = true;
|
|
|
|
remotePlay.openFirewall = true;
|
2024-08-30 12:57:02 +01:00
|
|
|
gamescopeSession.enable = true;
|
2024-05-21 19:24:24 +01:00
|
|
|
};
|
2024-01-12 22:06:16 +00:00
|
|
|
}
|