61 lines
1.3 KiB
Nix
61 lines
1.3 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
username,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
./desktop.nix
|
|
./steam.nix
|
|
];
|
|
home-manager.users.${username} = {
|
|
home = {
|
|
stateVersion = "23.05";
|
|
packages = with pkgs; [
|
|
helvum
|
|
prusa-slicer
|
|
blender
|
|
freecad
|
|
openscad
|
|
kicad-small
|
|
wineWowPackages.waylandFull
|
|
winetricks
|
|
lutris
|
|
cartridges
|
|
prismlauncher
|
|
];
|
|
};
|
|
programs.obs-studio = {
|
|
enable = true;
|
|
plugins = with pkgs.obs-studio-plugins; [
|
|
wlrobs
|
|
obs-vkcapture
|
|
obs-pipewire-audio-capture
|
|
input-overlay
|
|
];
|
|
};
|
|
wayland.windowManager.hyprland.settings.monitor = [
|
|
"desc:Acer Technologies ED270R TJMEE0043W01,1920x1080@144,0x140,1.0,vrr,2"
|
|
"desc:Microstep MSI G27CQ4 E2,2560x1440@144,1920x0,1.25,vrr,2"
|
|
];
|
|
};
|
|
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;
|
|
opencl.enable = true;
|
|
};
|
|
graphics = {
|
|
enable = true;
|
|
enable32Bit = true;
|
|
};
|
|
};
|
|
system.stateVersion = "23.05";
|
|
}
|