aboutsummaryrefslogtreecommitdiff
path: root/modules/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/default.nix')
-rw-r--r--modules/default.nix24
1 files changed, 23 insertions, 1 deletions
diff --git a/modules/default.nix b/modules/default.nix
index 67d8e83..e593055 100644
--- a/modules/default.nix
+++ b/modules/default.nix
@@ -1 +1,23 @@
-{ ... }: { imports = [ ./hardware ./system ./services ]; }
+{ lib, ... }:
+
+{
+ imports = [ ./hardware ./system ./services ./home ];
+
+ options.my = with lib; {
+ user = {
+ name = mkOption {
+ type = types.str;
+ default = "fcuny";
+ example = "franck";
+ description = "my username";
+ };
+
+ home = {
+ enable = mkEnableOption {
+ description = "home-manager configuration";
+ default = true;
+ };
+ };
+ };
+ };
+}