Update configuration.nix

commented colemak layout, added a fix to displaylink, and enabled v4l2loopback
This commit is contained in:
batvin321 2024-06-11 19:14:15 -04:00
parent ca4cb2b7fd
commit b83a011259

View File

@ -49,7 +49,7 @@ in
#boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
boot.kernelPackages = pkgs.linuxPackages_xanmod_stable;
#boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback evdi ];
networking.hostName = "vincents-hp"; # Define your hostname.
networking.networkmanager.enable = true;
@ -69,7 +69,7 @@ in
services.xserver.enable = true;
# displaylink
services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
#services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
# waydroid
#virtualisation.waydroid.enable = true;
@ -82,7 +82,7 @@ in
# Configure keymap in X11
services.xserver = {
xkb.layout = "us";
xkb.variant = "colemak";
#xkb.variant = "colemak";
#xkb.model = "chromebook";
};
services.xserver.xkb.options = "grp:win_space_toggle";
@ -123,7 +123,7 @@ in
isNormalUser = true;
shell = pkgs.fish;
initialPassword = "replaceMe";
extraGroups = [ "wheel" "networkmanager" "lp" "audio" "video" "cdrom" "input" ];
extraGroups = [ "wheel" "networkmanager" "lp" "audio" "video" "cdrom" "input" "dialout" ];
packages = with pkgs; [
# admin tools
clamtk