Add QMK Cheat config

This commit is contained in:
muon 2025-08-16 18:47:43 +00:00
parent 72ef424ba1
commit 00433dd778
6 changed files with 139 additions and 89 deletions

View file

@ -29,6 +29,7 @@ in {
networking.hostName = cfg.user.name;
networking.hostId = "a230906f";
mods.home.file = ./home.nix;
nix.settings.trusted-users = ["root" "muon"];
# Modules
mods.desktop.enable = true;
@ -61,6 +62,9 @@ in {
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = ["user-with-access-to-virtualbox"];
services.picom.enable = true;
services.picom.opacityRules = ["50:name *= 'Cheat'"];
# Proprietary </3
mods.unfree.steam.enable = true;
mods.unfree.nvidia.enable = true;

View file

@ -1,13 +1,21 @@
{ config, lib, pkgs, inputs, system, sources, modulesPath, ... }:
let cfg = config.mods;
{
config,
lib,
pkgs,
inputs,
system,
sources,
modulesPath,
...
}: let
cfg = config.mods;
in {
# Hardware
imports = [
./hardware-configuration.nix
"${
builtins.fetchTarball {
url =
"https://github.com/nix-community/disko/archive/refs/tags/v1.12.0.tar.gz";
url = "https://github.com/nix-community/disko/archive/refs/tags/v1.12.0.tar.gz";
sha256 = "0wbx518d2x54yn4xh98cgm65wvj0gpy6nia6ra7ns4j63hx14fkq";
}
}/module.nix"
@ -28,8 +36,8 @@ in {
networking.hostName = "murk";
networking.hostId = "a2309090";
mods.home.file = ./home.nix;
nix.settings.trusted-users = [ "root" "muon" ];
users.users.muon.extraGroups = [ "docker" ];
nix.settings.trusted-users = ["root" "muon"];
users.users.muon.extraGroups = ["docker"];
# Modules
mods.desktop.enable = true;
@ -46,9 +54,12 @@ in {
services.hardware.openrgb.enable = true;
virtualisation.docker.enable = true;
services.picom.enable = true;
services.picom.opacityRules = ["50:name *= 'Cheat'"];
# Persist
environment.persistence."/persist" = {
directories = [ "/etc/NetworkManager" "/var/lib/NetworkManager" ];
directories = ["/etc/NetworkManager" "/var/lib/NetworkManager"];
};
# Hardware preferences