You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
678 B
Nix
22 lines
678 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.ashe.system = {
|
|
hostname = mkOption { type = types.str; };
|
|
timezone = mkOption { type = types.str; default = "America/Denver"; };
|
|
locale = mkOption { type = types.str; default = "en_US.UTF-8"; };
|
|
x11 = mkEnableOption "x11";
|
|
shell = mkPackageOption pkgs "zsh" { };
|
|
disk = mkOption { type = types.str; };
|
|
};
|
|
|
|
options.ashe.user = {
|
|
username = mkOption { type = types.str; default = "ashe"; };
|
|
description = mkOption { type = types.str; default = "Ashelyn"; };
|
|
password = mkOption { type = types.str; };
|
|
packages = mkOption { type = types.listOf types.package; default = [ ]; };
|
|
};
|
|
}
|