Get sway working

This commit is contained in:
Patrick Stevens
2024-11-29 09:37:28 +00:00
parent ab4af6d488
commit 7de8ba96f8

View File

@@ -3,17 +3,25 @@
../hardware/earthworm.nix
];
# hardware.asahi.peripheralFirmwareDirectory = "/etc/nixos/firmware";
hardware.asahi.peripheralFirmwareDirectory = ./../firmware;
hardware.asahi =
{
extractPeripheralFirmware = false;
useExperimentalGPUDriver = true;
experimentalGPUInstallMode = "driver";
experimentalGPUInstallMode = "overlay";
setupAsahiSound = true;
withRust = true;
};
hardware.graphics.enable = true;
programs.light.enable = true;
services.actkbd = {
enable = true;
bindings = [
{ keys = [ 225 ]; events = [ "key" ]; command = "${pkgs.light}/bin/light -A 10"; }
{ keys = [ 224 ]; events = [ "key" ]; command = "${pkgs.light}/bin/light -U 10"; }
];
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = false;
boot.extraModprobeConfig = ''