switched to dentritic pattern and cleaned up config
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{ ... }:
|
||||
{
|
||||
flake.modules.nixos.cemu = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [ cemu ];
|
||||
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1430", ATTRS{idProduct}=="0150", MODE="0666"
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{ self, ... }:
|
||||
{
|
||||
flake.modules.nixos.gaming = { ... }: {
|
||||
imports = [
|
||||
self.modules.nixos.cemu
|
||||
self.modules.nixos.steam
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{ ... }: {
|
||||
flake.modules.nixos.steam = { ... }: {
|
||||
programs.steam.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user