nixos-config/nixos/variables.nix
Zhongheng Liu 0770a70d0b feat: created variable-based nix configuration
Added variables.nix
Added Syncthing service definition
2024-07-31 14:46:59 +00:00

15 lines
333 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; };
};
# Default values for this configuration
config = {
myUserName = "stvnliu";
myHostName = "homelab-nix";
};
}