-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
58 lines (58 loc) · 1.47 KB
/
flake.nix
File metadata and controls
58 lines (58 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"description": "NixOS Arcade System Configuration",
"system": {
"modules": [
"nixos/modules/misc/nixos.nix",
"nixos/modules/services/xserver/xserver.nix",
"nixos/modules/services/xserver/display-managers/lightdm.nix",
"nixos/modules/services/xserver/xserver-lib.nix"
],
"environment.systemPackages": [
pkgs.emulators.mame,
pkgs.emulators.pcsx2,
pkgs.emulators.rpcs3,
pkgs.itgmania,
pkgs.nfs-utils
],
"services": {
"xserver.enable": true,
"xserver.displayManager.lightdm.enable": true,
"xserver.windowManager.i3.enable": true,
"xserver.desktopManager.plasma5.enable": false,
"mame.enable": true,
"pcsx2.enable": true,
"rpcs3.enable": true
},
"hardware": {
"inputDevices": {
"ps4-controller": {
"enable": true,
"driver": "evdev"
},
"dance-mat": {
"enable": true
}
}
},
"users.users.arcade-admin": {
"isNormalUser": true,
"createHome": true,
"password": "yourSecurePassword",
"extraGroups": [ "wheel", "networkmanager" ]
},
"nfs": {
"mounts": [
{
"remote": "192.168.100.55:/mnt/arcade",
"mountPoint": "/nfs/arcade",
"options": [ "noauto,users,rw" ]
}
]
},
"autoStart": [
{
"application": "emulationstation"
}
]
}
}