Compare commits

...

5 commits

3 changed files with 64 additions and 26 deletions

18
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1783740085, "lastModified": 1788642154,
"narHash": "sha256-qajyHfZY29G2oEQk+uHxmsJcRoBUBXP9maTpFlwP/dI=", "narHash": "sha256-sPpQFVaFTDqO/4vvCAhuAhqTgqN/ygu+9eJcs5eB0js=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "3cd22efe6471dc7365c822bd9ad73a21e55f38fb", "rev": "fd0956c99c41ae3c13a73a638f1f7e963aebc4ab",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -28,11 +28,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1783864904, "lastModified": 1788680125,
"narHash": "sha256-BQxN5UMg9FOevAsgBRwPxfxlh51Puj+dNn/8Dsi3sPM=", "narHash": "sha256-amGSoDobwmp4CFvCn841ws2iuitus+HUJdD/gKgsrJA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "1111b9bc836afb7e31a7014e8d1272de9b1c917d", "rev": "116ad1c2adb642405ef8916f6a94c8626f971344",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -43,11 +43,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1783856661, "lastModified": 1788690626,
"narHash": "sha256-ZGP04e+Q6WyQJGA9ZvI5CL6+heGQldbAG9U1T9NGvmU=", "narHash": "sha256-+v4I4LawmRD/mVxO7QIAerRrCkElp3YImzWkkUnvOTg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "569d578509928497eddc3fdbf94a799027050be4", "rev": "c25784012c9982bca5b3e0de87e90bbdac8927d3",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -39,6 +39,18 @@ with lib;
# boot.kernelPackages = pkgs.linuxPackages_latest; # 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 ( boot.kernelPackages = pkgs.linuxPackagesFor (
pkgs.linux_latest.override { pkgs.linux_latest.override {
argsOverride = rec { argsOverride = rec {
@ -63,6 +75,7 @@ with lib;
networking.extraHosts = '' networking.extraHosts = ''
# 204.168.170.249 talk.timo.social # 204.168.170.249 talk.timo.social
# 204.168.170.249 turn.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 # Configure network proxy if necessary
@ -117,13 +130,16 @@ with lib;
services.printing.enable = true; services.printing.enable = true;
# Enable sound with pipewire. # Enable sound with pipewire.
services.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
#services.pulseaudio.enable = true; # ENABLE FOR MULTI BLUETOOTH
#services.pulseaudio.support32Bit = true; # ENABLE FOR MULTI BLUETOOTH
services.pipewire = { services.pipewire = {
enable = true; enable = true; # DISABLE FOR MULTI BLUETOOTH
alsa.enable = true; alsa.enable = true; # DISABLE FOR MULTI BLUETOOTH
alsa.support32Bit = true; alsa.support32Bit = true; # DISABLE FOR MULTI BLUETOOTH
pulse.enable = true; pulse.enable = true; # DISABLE FOR MULTI BLUETOOTH
# If you want to use JACK applications, uncomment this # If you want to use JACK applications, uncomment this
#jack.enable = true; #jack.enable = true;
@ -218,8 +234,8 @@ with lib;
}; };
}; };
services.xserver.dpi = 192; # services.xserver.dpi = 192;
# services.xserver.dpi = 96; services.xserver.dpi = 96;
environment.variables = { environment.variables = {
### ## Used by GTK 3 ### ## Used by GTK 3
@ -231,9 +247,9 @@ with lib;
### # Used by Qt 5 ### # Used by Qt 5
### QT_AUTO_SCREEN_SCALE_FACTOR = "1"; ### 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 ### # Expose variables to graphical systemd user services
@ -311,8 +327,30 @@ with lib;
exfat exfat
fprintd fprintd
ranger 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; services.power-profiles-daemon.enable = true;
environment.localBinInPath = true; environment.localBinInPath = true;

View file

@ -39,7 +39,7 @@
scanner = { scanner = {
enable = true; enable = true;
interval = "17:15:00"; interval = "10:15:00";
}; };
}; };