aboutsummaryrefslogtreecommitdiff
path: root/common/variables.nix
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-10-02 17:30:27 +0300
committerZhongheng Liu <z.liu@outlook.com.gr>2024-10-02 17:30:27 +0300
commit74635a6c6da73114f37fb3dde1021a9cedbc4cb3 (patch)
tree8d5981f041951cb8af7d2865b14e9d80e71e9b29 /common/variables.nix
parent33edc82a6b49a91998a516a8c5f20d9983c34ee1 (diff)
downloadnixos-configuration-74635a6c6da73114f37fb3dde1021a9cedbc4cb3.tar.gz
nixos-configuration-74635a6c6da73114f37fb3dde1021a9cedbc4cb3.tar.bz2
nixos-configuration-74635a6c6da73114f37fb3dde1021a9cedbc4cb3.zip
feat: update wallpaper and references to image
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";