# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { inputs, lib, modulesPath, ... }: { imports = with inputs.nixos-hardware.nixosModules; [ (modulesPath + "/installer/scan/not-detected.nix") lenovo-legion-15ach6h ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware = { enableRedistributableFirmware = true; nvidia-container-toolkit.enable = true; nvidia = { dynamicBoost.enable = true; powerManagement.finegrained = false; }; }; services.keyd = { enable = true; keyboards.laptop = { ids = ["048d:c101"]; settings.main = { a = "lettermod(alt, a, 200, 150)"; s = "lettermod(meta, s, 200, 150)"; d = "lettermod(control, d, 200, 150)"; f = "lettermod(shift, f, 200, 150)"; j = "lettermod(shift, j, 200, 150)"; k = "lettermod(control, k, 200, 150)"; l = "lettermod(meta, l, 200, 150)"; ";" = "lettermod(alt, ;, 200, 150)"; }; }; }; }