Compare commits
5 commits
588bc7e699
...
a1f78e6e2c
| Author | SHA1 | Date | |
|---|---|---|---|
| a1f78e6e2c | |||
| 32ec5acf30 | |||
| bb685b5213 | |||
| 246c60ab97 | |||
| 569b9e7785 |
3 changed files with 64 additions and 26 deletions
18
flake.lock
generated
18
flake.lock
generated
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
@ -63,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
|
||||
|
|
@ -100,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;
|
||||
|
||||
|
|
@ -218,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
|
||||
|
|
@ -231,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
|
||||
|
|
@ -311,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;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
scanner = {
|
||||
enable = true;
|
||||
interval = "17:15:00";
|
||||
interval = "10:15:00";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue