Evie Litherland-Smith
05d19c1813
Split system-level sway and plasma config into separate files, move sway-specific home-level config to sway file. Only truly common desktop components are kept in common spaces. This allows much easier switching between using KDE Plasma and Sway.
23 lines
521 B
Nix
23 lines
521 B
Nix
{config, ...}: {
|
|
imports = [./desktop/plasma.nix];
|
|
boot = {
|
|
initrd.kernelModules = ["amdgpu"];
|
|
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
|
extraModprobeConfig = ''
|
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
|
'';
|
|
};
|
|
hardware = {
|
|
opengl = {
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
};
|
|
steam-hardware.enable = true;
|
|
};
|
|
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
};
|
|
}
|