mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-10 08:58:39 +00:00
Get sway working
This commit is contained in:
@@ -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 = ''
|
||||
|
Reference in New Issue
Block a user