From 569b9e77857af82ef67795beb6e4529f7a46504c Mon Sep 17 00:00:00 2001 From: cubernetes Date: Mon, 17 Aug 2026 11:36:03 +0200 Subject: [PATCH 1/5] Add v4l2 --- hosts/fw/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/fw/configuration.nix b/hosts/fw/configuration.nix index 80e3226..9536235 100644 --- a/hosts/fw/configuration.nix +++ b/hosts/fw/configuration.nix @@ -39,6 +39,18 @@ with lib; # boot.kernelPackages = pkgs.linuxPackages_latest; + boot = { + extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ]; + extraModprobeConfig = '' + options v4l2loopback devices=1 video_nr=10 card_label="custom_cam" exclusive_caps=1 + ''; + + kernelModules = [ + "v4l2loopback" + ]; + }; + + boot.kernelPackages = pkgs.linuxPackagesFor ( pkgs.linux_latest.override { argsOverride = rec { From 246c60ab97cd0e7fe737eacc83b0bb0ba3a17751 Mon Sep 17 00:00:00 2001 From: cubernetes Date: Mon, 17 Aug 2026 11:36:11 +0200 Subject: [PATCH 2/5] Block youtube.com --- hosts/fw/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/fw/configuration.nix b/hosts/fw/configuration.nix index 9536235..4ed2c99 100644 --- a/hosts/fw/configuration.nix +++ b/hosts/fw/configuration.nix @@ -75,6 +75,7 @@ with lib; networking.extraHosts = '' # 204.168.170.249 talk.timo.social # 204.168.170.249 turn.talk.timo.social + 127.0.0.1 m.youtube.com www.youtube.com youtube.com ''; # Configure network proxy if necessary From bb685b5213b1f95b97f632485490f4b78b5aa4a9 Mon Sep 17 00:00:00 2001 From: cubernetes Date: Mon, 17 Aug 2026 11:36:47 +0200 Subject: [PATCH 3/5] Add many more programs, ffmpeg, tcpdump, winbox, dash, dive, sshfs, ntfs, pangolin --- hosts/fw/configuration.nix | 57 +++++++++++++++++++++++++++----------- 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/hosts/fw/configuration.nix b/hosts/fw/configuration.nix index 4ed2c99..b37c210 100644 --- a/hosts/fw/configuration.nix +++ b/hosts/fw/configuration.nix @@ -113,30 +113,33 @@ with lib; variant = ""; }; - #services.xserver.windowManager.dwm = { - # enable = true; - # package = pkgs.dwm.overrideAttrs { - # src = ./config/dwm; - # }; - #}; + # services.xserver.windowManager.dwm = { + # enable = true; + # package = pkgs.dwm.overrideAttrs { + # src = ./config/dwm; + # }; + # }; # Enable the KDE Plasma Desktop Environment. services.displayManager.sddm.enable = true; services.desktopManager.plasma6.enable = true; - #services.displayManager.ly.enable = true; + # services.displayManager.ly.enable = true; # Enable CUPS to print documents. services.printing.enable = true; # Enable sound with pipewire. - services.pulseaudio.enable = false; security.rtkit.enable = true; + + #services.pulseaudio.enable = true; # ENABLE FOR MULTI BLUETOOTH + #services.pulseaudio.support32Bit = true; # ENABLE FOR MULTI BLUETOOTH + services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; + enable = true; # DISABLE FOR MULTI BLUETOOTH + alsa.enable = true; # DISABLE FOR MULTI BLUETOOTH + alsa.support32Bit = true; # DISABLE FOR MULTI BLUETOOTH + pulse.enable = true; # DISABLE FOR MULTI BLUETOOTH # If you want to use JACK applications, uncomment this #jack.enable = true; @@ -231,8 +234,8 @@ with lib; }; }; - services.xserver.dpi = 192; - # services.xserver.dpi = 96; + # services.xserver.dpi = 192; + services.xserver.dpi = 96; environment.variables = { ### ## Used by GTK 3 @@ -244,9 +247,9 @@ with lib; ### # Used by Qt 5 ### QT_AUTO_SCREEN_SCALE_FACTOR = "1"; - _JAVA_OPTIONS = "-Dsun.java2d.uiScale=2"; + ### _JAVA_OPTIONS = "-Dsun.java2d.uiScale=2"; - XCURSOR_SIZE = "64"; + ### XCURSOR_SIZE = "64"; }; ### # Expose variables to graphical systemd user services @@ -324,8 +327,30 @@ with lib; exfat fprintd ranger + dive + openssl_4_0 + man-pages + man-pages-posix + v4l-utils + ffmpeg + tcpdump + winbox + pangolin-cli + paprefs + expect + guestfs-tools + sshpass + nodejs_26 + netcat-openbsd + convmv + ntfsprogs-plus + sshfs + yash + dash ]; + documentation.dev.enable = true; + services.power-profiles-daemon.enable = true; environment.localBinInPath = true; From 32ec5acf304f6d18e9424495203e25e554ec72a3 Mon Sep 17 00:00:00 2001 From: cubernetes Date: Mon, 17 Aug 2026 11:36:57 +0200 Subject: [PATCH 4/5] Set clamav interval to 10:15:00 --- modules/nixos/clamav.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/clamav.nix b/modules/nixos/clamav.nix index 3dd696f..4487a33 100644 --- a/modules/nixos/clamav.nix +++ b/modules/nixos/clamav.nix @@ -39,7 +39,7 @@ scanner = { enable = true; - interval = "17:15:00"; + interval = "10:15:00"; }; }; From a1f78e6e2c3af8ef93c8b3ee5a548669513f64b4 Mon Sep 17 00:00:00 2001 From: cubernetes Date: Mon, 7 Sep 2026 13:27:50 +0200 Subject: [PATCH 5/5] flake update --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 566e95b..86336da 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1783740085, - "narHash": "sha256-qajyHfZY29G2oEQk+uHxmsJcRoBUBXP9maTpFlwP/dI=", + "lastModified": 1788642154, + "narHash": "sha256-sPpQFVaFTDqO/4vvCAhuAhqTgqN/ygu+9eJcs5eB0js=", "owner": "nix-community", "repo": "home-manager", - "rev": "3cd22efe6471dc7365c822bd9ad73a21e55f38fb", + "rev": "fd0956c99c41ae3c13a73a638f1f7e963aebc4ab", "type": "github" }, "original": { @@ -28,11 +28,11 @@ ] }, "locked": { - "lastModified": 1783864904, - "narHash": "sha256-BQxN5UMg9FOevAsgBRwPxfxlh51Puj+dNn/8Dsi3sPM=", + "lastModified": 1788680125, + "narHash": "sha256-amGSoDobwmp4CFvCn841ws2iuitus+HUJdD/gKgsrJA=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "1111b9bc836afb7e31a7014e8d1272de9b1c917d", + "rev": "116ad1c2adb642405ef8916f6a94c8626f971344", "type": "github" }, "original": { @@ -43,11 +43,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1783856661, - "narHash": "sha256-ZGP04e+Q6WyQJGA9ZvI5CL6+heGQldbAG9U1T9NGvmU=", + "lastModified": 1788690626, + "narHash": "sha256-+v4I4LawmRD/mVxO7QIAerRrCkElp3YImzWkkUnvOTg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "569d578509928497eddc3fdbf94a799027050be4", + "rev": "c25784012c9982bca5b3e0de87e90bbdac8927d3", "type": "github" }, "original": {