This commit is contained in:
maya 2025-07-31 19:25:28 +08:00
parent 2748681622
commit 5ceb209b34
No known key found for this signature in database
5 changed files with 11 additions and 4 deletions

View file

@ -16,7 +16,6 @@
# undockEvent = "${pkgs.wlr-randr}/bin/wlr-randr --output eDP-1 --pos 0,0"; # undockEvent = "${pkgs.wlr-randr}/bin/wlr-randr --output eDP-1 --pos 0,0";
#}; #};
programs.gamemode.enable = true; programs.gamemode.enable = true;
virtualisation.kvmgt = { virtualisation.kvmgt = {
enable = true; enable = true;
vgpus = { vgpus = {
@ -275,6 +274,7 @@
memtest86-efi memtest86-efi
edk2-uefi-shell edk2-uefi-shell
xwayland-satellite xwayland-satellite
jpilot
# wget # wget
]; ];

View file

@ -7,5 +7,6 @@
../substituters.nix ../substituters.nix
../fonts.nix ../fonts.nix
../udev.nix ../udev.nix
../greetd.nix
]; ];
} }

View file

@ -15,12 +15,15 @@
enable = true; enable = true;
tempBat = 80; tempBat = 80;
tempAc = 95; tempAc = 95;
coreOffset = -73; coreOffset = -72;
gpuOffset = -95; gpuOffset = -95;
}; };
boot.kernelModules = [ "kvm-intel" "sierra_net" ]; boot.kernelModules = [ "kvm-intel" "sierra_net" "v4l2-loopback" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest; boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam"
'';
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/1395f53e-3fcd-46fc-848e-d14cf332cb73"; { device = "/dev/disk/by-uuid/1395f53e-3fcd-46fc-848e-d14cf332cb73";

View file

@ -33,6 +33,8 @@
prefer-no-csd = true; prefer-no-csd = true;
input.keyboard.xkb.layout = (if vars.user == "alyx" && vars.isBritish then "gb" else "us"); input.keyboard.xkb.layout = (if vars.user == "alyx" && vars.isBritish then "gb" else "us");
input.focus-follows-mouse.enable = true; input.focus-follows-mouse.enable = true;
hotkey-overlay.skip-at-startup = true;
animations.slowdown = 0.5;
binds = with config.lib.niri.actions; lib.mkDefault { binds = with config.lib.niri.actions; lib.mkDefault {
"Mod+Return".action = spawn "foot"; "Mod+Return".action = spawn "foot";
"Mod+V".action = spawn "/home/${vars.user}/.config/nixos/home/wooz"; "Mod+V".action = spawn "/home/${vars.user}/.config/nixos/home/wooz";

View file

@ -6,6 +6,7 @@
bs-manager bs-manager
clonehero clonehero
comma comma
cinny-desktop
discordo discordo
dissent dissent
emacs emacs