aboutsummaryrefslogtreecommitdiff
path: root/nixos/variables.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/variables.nix')
-rw-r--r--nixos/variables.nix30
1 files changed, 17 insertions, 13 deletions
diff --git a/nixos/variables.nix b/nixos/variables.nix
index e6b111d..fdf47b4 100644
--- a/nixos/variables.nix
+++ b/nixos/variables.nix
@@ -1,15 +1,19 @@
-{config, pkgs, lib, ...}:
{
-
- # Type definitions for nix variables used in this configuration
- options = with lib; with types; {
- myUserName = mkOption { type = str; };
- myHostName = mkOption { type = str; };
- };
-
- # Default values for this configuration
- config = {
- myUserName = "stvnliu";
- myHostName = "homelab-nix";
- };
+ config,
+ pkgs,
+ lib,
+ ...
+}: {
+ # Type definitions for nix variables used in this configuration
+ options = with lib;
+ with types; {
+ myUserName = mkOption {type = str;};
+ myHostName = mkOption {type = str;};
+ };
+
+ # Default values for this configuration
+ config = {
+ myUserName = "stvnliu";
+ myHostName = "homelab-nix";
+ };
}