From 0c4cf6ac218fec00d58055d89ca0bf7903d0cff9 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sun, 3 Oct 2021 17:26:50 -0400 Subject: [PATCH] move profiles module --- modules/{profiles.nix => profiles/default.nix} | 1 + modules/{ => profiles}/desktop.nix | 0 modules/{ => profiles}/server.nix | 0 3 files changed, 1 insertion(+) rename modules/{profiles.nix => profiles/default.nix} (72%) rename modules/{ => profiles}/desktop.nix (100%) rename modules/{ => profiles}/server.nix (100%) diff --git a/modules/profiles.nix b/modules/profiles/default.nix similarity index 72% rename from modules/profiles.nix rename to modules/profiles/default.nix index dc2aae2..9ff6207 100644 --- a/modules/profiles.nix +++ b/modules/profiles/default.nix @@ -4,4 +4,5 @@ with lib; options.sconfig.profile = mkOption { type = types.enum [ "server" "desktop" ]; }; + imports = [ ./server.nix ./desktop.nix ]; } diff --git a/modules/desktop.nix b/modules/profiles/desktop.nix similarity index 100% rename from modules/desktop.nix rename to modules/profiles/desktop.nix diff --git a/modules/server.nix b/modules/profiles/server.nix similarity index 100% rename from modules/server.nix rename to modules/profiles/server.nix