fix cursor

This commit is contained in:
Noa Aarts 2024-03-01 20:24:51 +01:00
parent 737f3b9dfd
commit 4bfe0b08b7
2 changed files with 19 additions and 5 deletions

View file

@ -16,6 +16,7 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "lambdaOS"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -117,7 +118,10 @@
# };
programs.zsh.enable = true;
programs.hyprland.enable = true;
programs.hyprland = {
enable = true;
portalPackage = pkgs.xdg-desktop-portal-hyprland;
};
users.defaultUserShell = pkgs.zsh;
@ -130,6 +134,13 @@
jack.enable = true;
};
boot.extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
];
boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
security.polkit.enable = true;
# List services that you want to enable:

View file

@ -39,6 +39,9 @@
firefox
steam
obs-studio
btop
dconf
pipewire
@ -115,7 +118,7 @@
gtk.enable = true;
x11.enable = true;
name = name;
size = 48;
size = 32;
package =
pkgs.runCommand "moveUp" {} ''
mkdir -p $out/share/icons
@ -127,7 +130,7 @@
};
in
getFrom
"https://github.com/ful1e5/fuchsia-cursor/releases/download/v2.0.0/Fuchsia-Pop.tar.gz"
"sha256-BvVE9qupMjw7JRqFUj1J0a4ys6kc9fOLBPx2bGaapTk="
"Fuchsia-Pop";
"https://github.com/ful1e5/Bibata_Cursor_Rainbow/releases/download/v1.1.2/Bibata-Rainbow-Modern.tar.gz"
"sha256-Ps+IKPwQoRwO9Mqxwc/1nHhdBT2R25IoeHLKe48uHB8="
"Bibata-Rainbow-Modern";
}