made changes for clean ness and games-on-whales
This commit is contained in:
parent
da59669d85
commit
fdb32cae0e
@ -68,7 +68,7 @@
|
||||
users.users.k = {
|
||||
isNormalUser = true;
|
||||
description = "k";
|
||||
extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "libvirtd"];
|
||||
packages = with pkgs; [zsh];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
@ -78,6 +78,34 @@
|
||||
};
|
||||
};
|
||||
|
||||
services.udev.extraRules = ''
|
||||
# Allows Wolf to acces /dev/uinput
|
||||
KERNEL=="uinput", SUBSYSTEM=="misc", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"
|
||||
|
||||
# Allows Wolf to access /dev/uhid
|
||||
KERNEL=="uhid", TAG+="uaccess"
|
||||
|
||||
# Move virtual keyboard and mouse into a different seat
|
||||
SUBSYSTEMS=="input", ATTRS{id/vendor}=="ab00", MODE="0660", GROUP="input", ENV{ID_SEAT}="seat9"
|
||||
|
||||
# Joypads
|
||||
SUBSYSTEMS=="input", ATTRS{name}=="Wolf X-Box One (virtual) pad", MODE="0660", GROUP="input"
|
||||
SUBSYSTEMS=="input", ATTRS{name}=="Wolf PS5 (virtual) pad", MODE="0660", GROUP="input"
|
||||
SUBSYSTEMS=="input", ATTRS{name}=="Wolf gamepad (virtual) motion sensors", MODE="0660", GROUP="input"
|
||||
SUBSYSTEMS=="input", ATTRS{name}=="Wolf Nintendo (virtual) pad", MODE="0660", GROUP="input"
|
||||
'';
|
||||
|
||||
users.users.game = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["docker" "input"];
|
||||
packages = with pkgs; [docker-compose];
|
||||
};
|
||||
|
||||
users.users.media = {
|
||||
isNormalUser = true;
|
||||
packages = with pkgs; [mpv ffmpeg handbrake makemkv];
|
||||
};
|
||||
|
||||
system.autoUpgrade.enable = true;
|
||||
nix.gc.automatic = true;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user