diff --git a/hosts/remus/configuration.nix b/hosts/remus/configuration.nix index 15d2e0e..9c16ec2 100644 --- a/hosts/remus/configuration.nix +++ b/hosts/remus/configuration.nix @@ -20,6 +20,16 @@ efi.canTouchEfiVariables = true; }; + # for virtual webcams + boot.kernelModules = [ "v4l2loopback"]; + boot.extraModulePackages = with config.boot.kernelPackages; [ + v4l2loopback + ]; + boot.extraModprobeConfig = '' + options v4l2loopback devices=1 video_nr=0 card_label="My OBS Virt Cam" exclusive_caps=1 + ''; + security.polkit.enable = true; + networking = { hostName = "remus"; networkmanager.enable = true; @@ -32,10 +42,14 @@ programs.ssh.askPassword = lib.mkForce "${pkgs.kdePackages.ksshaskpass.out}/bin/ksshaskpass"; - environment.systemPackages = [ - pkgs.ryujinx + environment.systemPackages = with pkgs; [ + ryujinx + v4l-utils + wf-recorder + obs-studio ]; + programs.kdeconnect.enable = true; services.flatpak.enable = true; myNixOS = {