Add motion and qmk

This commit is contained in:
muon 2025-08-11 18:27:54 +00:00
parent 19458d6c02
commit bc6d381e9f
2 changed files with 34 additions and 23 deletions

View file

@ -1,9 +1,16 @@
{ config, lib, pkgs, inputs, system, sources, ... }:
let cfg = config.mods;
{
config,
lib,
pkgs,
inputs,
system,
sources,
...
}: let
cfg = config.mods;
in {
# Hardware
imports = [ ./hardware-configuration.nix ];
imports = [./hardware-configuration.nix];
environment.systemPackages = with inputs.nix-alien.packages.${system}; [
nix-alien
@ -11,6 +18,10 @@ in {
pkgs.lutris
pkgs.godot
pkgs.rustdesk-flutter
pkgs.motion
pkgs.linuxPackages.v4l2loopback
pkgs.v4l-utils
pkgs.qmk
];
# System
@ -32,7 +43,7 @@ in {
mods.containers.steam.enable = false;
mods.server.astral.enable = false;
mods.server.astral.autoStart = false;
mods.server.nvr.enable = true;
mods.server.nvr.enable = false;
mods.docker.enable = true;
mods.docker.media.enable = false;
@ -48,7 +59,7 @@ in {
programs.kdeconnect.enable = true;
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ];
users.extraGroups.vboxusers.members = ["user-with-access-to-virtualbox"];
# Proprietary </3
mods.unfree.steam.enable = true;
@ -60,6 +71,9 @@ in {
## Mouse
services.libinput.mouse.accelProfile = "flat";
## Keyboard
hardware.keyboard.qmk.enable = true;
## Monitors
mods.monitors = {
primary = {