From 8f22a24963096b37be20dfbbf25d311ff99d19ca Mon Sep 17 00:00:00 2001 From: ooks-io Date: Sun, 26 May 2024 13:14:44 +1200 Subject: [PATCH] feat(nixos): add ooksmedia to nixos output --- outputs/nixos.nix | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/outputs/nixos.nix b/outputs/nixos.nix index b875733..970f7f3 100644 --- a/outputs/nixos.nix +++ b/outputs/nixos.nix @@ -9,8 +9,11 @@ let hosts = "${systemInputs}/hosts"; base = "${systemInputs}/modules/base"; - gaming = "${systemInputs}/modules/roles/gaming"; - workstation = "${systemInputs}/modules/roles/workstation"; + roles = "${systemInputs}/modules/roles"; + gaming = "${roles}/gaming"; + workstation = "${roles}/workstation"; + media-server = "${roles}/media-server"; + specialArgs = {inherit inputs self;}; @@ -28,4 +31,17 @@ in workstation ]; }; + ooksmedia = nixosSystem { + inherit specialArgs; + system = "x86_64-linux"; + modules = [ + "${hosts}/ooksmedia" + hm + base + + gaming + workstation + media-server + ]; + }; }