aboutsummaryrefslogtreecommitdiff
path: root/common/variables.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/variables.nix')
-rw-r--r--common/variables.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/variables.nix b/common/variables.nix
index e8b98e2..5a148ab 100644
--- a/common/variables.nix
+++ b/common/variables.nix
@@ -7,6 +7,7 @@
# Type definitions for nix variables used in this configuration
options = with lib;
with types; {
+ myWallPaperPath = mkOption {type = path;};
myUserName = mkOption {type = str;};
myHostName = mkOption {type = str;};
myWallPaperPathString = mkOption {type = str;};
@@ -21,6 +22,7 @@
# Default values for this configuration
config = rec {
myUserName = "stvnliu";
+ myWallPaperPath = ../home-manager/${myUserName}/assets/road-wallpaper.jpg;
myHostName = "nixos-msi";
displayScale = 2;
myWallPaperPathString = "/home/${myUserName}/wallpaper.jpg";