aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-08-12 09:27:59 +0800
committerZhongheng Liu <z.liu@outlook.com.gr>2024-08-12 09:27:59 +0800
commit2fcbfd8d885fc02bcd8c3d792037695efc04cb91 (patch)
tree0f00f76a35946bb10fb23305b26397813b49e8a6 /nixos
parent28506968d7ec8df973ff4656a547c6e4af1db0bc (diff)
downloadnixos-configuration-2fcbfd8d885fc02bcd8c3d792037695efc04cb91.tar.gz
nixos-configuration-2fcbfd8d885fc02bcd8c3d792037695efc04cb91.tar.bz2
nixos-configuration-2fcbfd8d885fc02bcd8c3d792037695efc04cb91.zip
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.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/variables.nix19
1 files changed, 0 insertions, 19 deletions
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";
- };
-}