diff --git a/nixos/hosts/base.nix b/nixos/hosts/base.nix index 53ba522..e90408a 100644 --- a/nixos/hosts/base.nix +++ b/nixos/hosts/base.nix @@ -1,9 +1,18 @@ -{ pkgs, inputs, ... }: +{ config, pkgs, inputs, ... }: { imports = [ ../packages.nix ]; + boot = { + extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; + extraModprobeConfig = '' + options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1 + ''; + }; + + security.polkit.enable = true; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs = { config.allowUnfree = true; diff --git a/nixos/packages.nix b/nixos/packages.nix index 80f9d48..43c7758 100644 --- a/nixos/packages.nix +++ b/nixos/packages.nix @@ -44,6 +44,7 @@ posy-cursors # Posy's Improved Cursors for Linux pantheon.elementary-gtk-theme # GTK theme designed to be smooth, attractive, fast, and usable # internet + ngrok # Allows you to expose a web server running on your local machine to the internet nicotine-plus # Graphical client for the SoulSeek peer-to-peer system slack # Desktop client for Slack vesktop # Alternate client for Discord with Vencord built-in @@ -92,6 +93,7 @@ catppuccin-sddm # Soothing pastel theme for SDDM kdePackages.kdenlive # Free and open source video editor, based on MLT Framework and KDE Frameworks nmap # Free and open source utility for network discovery and security auditing + obs-studio # Free and open source software for video recording and live streaming qemu_kvm # Generic and open source machine emulator and virtualizer ]; }