From 2fcbfd8d885fc02bcd8c3d792037695efc04cb91 Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Mon, 12 Aug 2024 09:27:59 +0800 Subject: refactor: move common variables referenced into common/variables.nix In the future, should have independent variable files for home-manager and nixos-specific, in their respective directories. --- nixos/variables.nix | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 nixos/variables.nix (limited to 'nixos/variables.nix') diff --git a/nixos/variables.nix b/nixos/variables.nix deleted file mode 100644 index fdf47b4..0000000 --- a/nixos/variables.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - 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"; - }; -} -- cgit