mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add QMK Cheat config
This commit is contained in:
parent
72ef424ba1
commit
00433dd778
6 changed files with 139 additions and 89 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue