Browse Source

fix issues with hardened on unstable, make screen sharing possible through v4l2sink on wayland

master
parent
commit
75d1bf69c6
Signed by: govanify <gauvain@govanify.com> GPG Key ID: DE62E1E2A6145556
3 changed files with 8 additions and 2 deletions
  1. +1
    -1
      common/graphical.nix
  2. +3
    -1
      common/security.nix
  3. +4
    -0
      common/users.nix

+ 1
- 1
common/graphical.nix View File

@@ -5,7 +5,7 @@
# firefox no segfaulty
xdg.portal.enable = false;

boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
programs.sway = {
enable = true;
extraPackages = with pkgs; [


+ 3
- 1
common/security.nix View File

@@ -20,13 +20,15 @@ in {
}];

security.allowUserNamespaces = true;

environment.memoryAllocator.provider = "libc";

# temporary to debug wifi
security.lockKernelModules = false;

# it seems that linux nowadays won't allow you to disable the jit
boot.kernel.sysctl."net.core.bpf_jit_enable" = true;
boot.kernel.sysctl."kernel.unprivileged_userns_clone" = 1;
# any hardened allocator doesn't even let me boot
#environment.memoryAllocator.provider = "graphene-hardened";
security.allowSimultaneousMultithreading = true;


+ 4
- 0
common/users.nix View File

@@ -17,6 +17,10 @@
userEmail = "gauvain@govanify.com";
userName = "Gauvain 'GovanifY' Roussel-Tarbouriech";
};
programs.obs-studio = {
enable = true;
plugins = [ pkgs.obs-wlrobs pkgs.obs-v4l2sink ];
};
};

}


Loading…
Cancel
Save