moving to ctrl as main mod[1;2A]

This commit is contained in:
Matt Nish-Lapidus 2024-10-08 16:48:50 -04:00
parent 1781b9c4ad
commit ed904f2d2b
6 changed files with 59 additions and 40 deletions

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ nixos-hardware, config, pkgs, musnix, ... }:
{ nixos-hardware, config, pkgs, musnix, lib, ... }:
{
imports =
@ -100,6 +100,18 @@
};
};
specialisation = {
gpupower.configuration = {
system.nixos.tags = [ "gpupower" ];
hardware.nvidia = {
prime.offload.enable = lib.mkForce false;
prime.offload.enableOffloadCmd = lib.mkForce false;
prime.sync.enable = lib.mkForce true;
powerManagement.finegrained = lib.mkForce false;
};
};
};
musnix = {
enable = true;
alsaSeq.enable = true;