nixos-config/common/variables.nix
Zhongheng Liu 5515d4a9cd
feat: introduced new home-manager features
Changed wallpaper to better fit the style of the WM
- affected common variables
- affected hyprland configuration
- affected stylix configuration
- included additional flake inputs
Added Spicetify packages (not working)
Added obs-studio home-manager program option
Added vimkey navigation keybinds for Hyprland
2024-08-25 18:40:18 +08:00

34 lines
938 B
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;};
myWallPaperPathString = mkOption {type = str;};
myDisplayName = mkOption {type = str;};
myEmail = mkOption {type = str;};
displayScale = mkOption {type = int;};
myAutostartCommands = mkOption {type = listOf str;};
myConfigLocation = mkOption {type = str;};
};
# Default values for this configuration
config = rec {
myUserName = "stvnliu";
myHostName = "nixos-msi";
displayScale = 1;
myWallPaperPathString = "/home/${myUserName}/wallpaper.jpg";
myDisplayName = "Zhongheng Liu";
myEmail = "z.liu@outlook.com.gr";
myAutostartCommands = [
"fcitx5"
"${pkgs.udiskie}/bin/udiskie"
];
myConfigLocation = "/home/${myUserName}/nix-conf";
};
}