This commit is contained in:
2025-05-14 17:58:19 -04:00
parent 4fc35be18f
commit 7be60dc281
5 changed files with 180 additions and 9 deletions

View File

@@ -11,15 +11,16 @@
inputs.home-manager.nixosModules.default
../../mods/vm.nix
../../mods/mini-spice.nix
# ../../mods/kmonad.nix
../../mods/wallpaper2.nix
inputs.spicetify-nix.nixosModules.default
];
services.udev.enable = true;
# vm.enable = true;
vm.enable = true;
# Bootloader.
@@ -33,7 +34,7 @@
kernelModules = [ "vfio_virqfd" "vfio_pci" "vfio_iommu_type1" "vfio" "v4l2loopback" ];
blacklistedKernelModules = [ "nvidia" "nouveau" ];
extraModprobeConfig = ''
options vfio-pci ids=10de:22bc,10de:2786
options vfio-pci ids=10de:22bc,10de:2786,8086:24fd
options v4l2loopback exclusive_caps=1
'';
extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ];
@@ -51,6 +52,24 @@
#networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
# networking.networkmanager.insertNameservers = [ "1.1.1.1" ];
# networking = {
# bridges = {
# "br0" = {
# interfaces = [ "eno1" ];
# };
# };
#
# interfaces = {
# enp0s3.useDHCP = false; # Disable DHCP on the physical Ethernet port
# br0.useDHCP = true; # Enable DHCP on the bridge interface
# };
#};
#{ config, pkgs, lib, ... }:{
# networking.firewall.checkReversePath = false;
#}
@@ -86,6 +105,15 @@
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
# networking.bridges = {
# br0.interfaces = [ "eno1" ]; # Replace eth0 with your main network interface
# };
#
# networking.interfaces.br0.useDHCP = true; # Or set a static IP if needed
# Enable the X11 windowing system.
services.xserver.enable = true;
@@ -121,6 +149,10 @@
services.udisks2.enable = true;
services.locate.enable = true;
services.locate.package = pkgs.mlocate;
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
@@ -230,7 +262,7 @@
pavucontrol
ranger
lxqt.lxqt-policykit
# linux-wallpaperengine # bug with freeimage-unstable with like 7 CVEs wait for patch
linux-wallpaperengine # bug with freeimage-unstable with like 7 CVEs wait for patch
libreoffice
pasystray
# syncthing-tray
@@ -295,8 +327,14 @@
game-devices-udev-rules
looking-glass-client
inputs.zen-browser.packages."${system}".default
inputs.quasigod.packages."${system}".grayjay-desktop
tree
keyd
alvr
syncthing
mlocate
android-udev-rules
sidequest
slimevr
];
# Some programs need SUID wrappers, can be configured further or are