From ca7dd48db3b25b911b77317ea95c3f0a71a26093 Mon Sep 17 00:00:00 2001 From: Toast Date: Tue, 3 Oct 2023 00:36:14 +0200 Subject: [PATCH] Gaming: restructure role --- roles/gaming/default.nix | 5 ++--- roles/gaming/programs/default.nix | 9 +++++++++ roles/gaming/{ => programs}/mangohud.nix | 0 roles/gaming/{ => programs}/rpcs3.nix | 0 roles/gaming/{ => programs}/steam.nix | 0 roles/gaming/services/default.nix | 5 +++++ 6 files changed, 16 insertions(+), 3 deletions(-) mode change 100755 => 100644 roles/gaming/default.nix create mode 100755 roles/gaming/programs/default.nix rename roles/gaming/{ => programs}/mangohud.nix (100%) rename roles/gaming/{ => programs}/rpcs3.nix (100%) rename roles/gaming/{ => programs}/steam.nix (100%) create mode 100644 roles/gaming/services/default.nix diff --git a/roles/gaming/default.nix b/roles/gaming/default.nix old mode 100755 new mode 100644 index dc70b10..cccac83 --- a/roles/gaming/default.nix +++ b/roles/gaming/default.nix @@ -2,8 +2,7 @@ { imports = [ - ./steam.nix - ./mangohud.nix - ./rpcs3.nix + ./programs + ./services ]; } diff --git a/roles/gaming/programs/default.nix b/roles/gaming/programs/default.nix new file mode 100755 index 0000000..dc70b10 --- /dev/null +++ b/roles/gaming/programs/default.nix @@ -0,0 +1,9 @@ +{ ... }: + +{ + imports = [ + ./steam.nix + ./mangohud.nix + ./rpcs3.nix + ]; +} diff --git a/roles/gaming/mangohud.nix b/roles/gaming/programs/mangohud.nix similarity index 100% rename from roles/gaming/mangohud.nix rename to roles/gaming/programs/mangohud.nix diff --git a/roles/gaming/rpcs3.nix b/roles/gaming/programs/rpcs3.nix similarity index 100% rename from roles/gaming/rpcs3.nix rename to roles/gaming/programs/rpcs3.nix diff --git a/roles/gaming/steam.nix b/roles/gaming/programs/steam.nix similarity index 100% rename from roles/gaming/steam.nix rename to roles/gaming/programs/steam.nix diff --git a/roles/gaming/services/default.nix b/roles/gaming/services/default.nix new file mode 100644 index 0000000..d8147ea --- /dev/null +++ b/roles/gaming/services/default.nix @@ -0,0 +1,5 @@ +{ ... }: + +{ + +}