nixos-config/common/variables.nix
Zhongheng Liu 37674d828e
feat: better AGS integration and Hyprland setup
AGS: Full AGS config directory init

Autostart: Created myAutostartCommands var to programmatically define

all commands to be started when Hyprland initiates

this includes firefox, thunderbird, and a terminal to be set in the

special Hyprland workspace
2024-08-20 14:27:41 +08:00

31 lines
800 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;};
};
# Default values for this configuration
config = rec {
myUserName = "stvnliu";
myHostName = "nixos-msi";
displayScale = 1;
myWallPaperPathString = "/home/${myUserName}/wallpaper.png";
myDisplayName = "Zhongheng Liu";
myEmail = "z.liu@outlook.com.gr";
myAutostartCommands = [
"fcitx5"
];
};
}