From 5dc2cfad0d74ccb6724c345985e63f3dd8da2d10 Mon Sep 17 00:00:00 2001 From: NullBite Date: Thu, 8 Feb 2024 18:34:31 +0100 Subject: [PATCH] slab: switch to nixfiles options --- hosts/slab/configuration.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/hosts/slab/configuration.nix b/hosts/slab/configuration.nix index 1982631..469884d 100644 --- a/hosts/slab/configuration.nix +++ b/hosts/slab/configuration.nix @@ -17,14 +17,18 @@ [ # Include the results of the hardware scan. ./hardware-configuration.nix + ../../system # nixfiles modules ./nvidia-optimus.nix - ../../system/remote.nix - # ../../system/plasma.nix - ../../system/fragments/opengl.nix - ../../system/gaming.nix - ../../system/android.nix - ../../system/hyprland.nix + ../../system/fragments/android.nix ]; + nixfiles = { + common.remoteAccess.enable = true; + hardware.opengl.enable = true; + packageSets.gaming.enable = true; + sessions.hyprland.enable = true; + sessions.plasma.enable = lib.mkDefault false; + }; + networking.hostName = "slab";