diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-02-11 22:19:37 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-02-11 22:33:44 -0600 |
| commit | 0a84e13afc368ceedf08b543de459d163b6c1211 (patch) | |
| tree | 85eed662f4825e14ce60b2eeee76f66cc37bba2f /home/default.nix | |
| parent | 9596e0e75c6a49083167ef6e2edca9cc448695e1 (diff) | |
home: enable different users on same host
Diffstat (limited to '')
| -rw-r--r-- | home/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/home/default.nix b/home/default.nix index 0afdc7c..975e1b8 100644 --- a/home/default.nix +++ b/home/default.nix @@ -9,8 +9,14 @@ with lib; { ./path.nix ]; - options.local.workstation = with lib.types; mkOption { - type = bool; + options.local = with lib.types; { + hostname = mkOption { + type = str; + }; + + workstation = mkOption { + type = bool; + }; }; config = { @@ -30,7 +36,6 @@ with lib; { # changes in each release. stateVersion = "21.11"; - username = "ale"; homeDirectory = "/home/${config.home.username}"; sessionVariables = { |
