diff --git a/configuration.nix b/configuration.nix index eb5fa78..c37d11c 100755 --- a/configuration.nix +++ b/configuration.nix @@ -18,6 +18,17 @@ in boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; +boot.extraModulePackages = with config.boot.kernelPackages; [ + v4l2loopback +]; + +boot.kernelModules = [ "v4l2loopback" ]; +boot.extraModprobeConfig = '' + options v4l2loopback video_nr=10 card_label=snapcam exclusive_caps=1 +''; + + + networking.hostName = profile.hostname; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -91,6 +102,8 @@ in libGL xorg.libX11 appimage-run + libgcrypt + libxcrypt ]; }; @@ -121,7 +134,6 @@ in services.openssh.enable = true; nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs.config.allowUnfree = true; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/terminal-environment/config.nix b/terminal-environment/config.nix index 2d1ee6e..7b65c6d 100644 --- a/terminal-environment/config.nix +++ b/terminal-environment/config.nix @@ -6,6 +6,7 @@ in imports = [ ./editor.nix + ./tex-environment.nix ]; environment.systemPackages = with pkgs; [ diff --git a/terminal-environment/tex-environment.nix b/terminal-environment/tex-environment.nix new file mode 100644 index 0000000..084ef53 --- /dev/null +++ b/terminal-environment/tex-environment.nix @@ -0,0 +1,11 @@ +{ config, pkgs, ... }: +let + profile = import ../profile.nix; +in +{ + + environment.systemPackages = with pkgs; [ + texliveMedium + ]; + +}