From 0a84e13afc368ceedf08b543de459d163b6c1211 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 11 Feb 2023 22:19:37 -0600 Subject: home: enable different users on same host --- home/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'home/default.nix') 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 = { -- cgit v1.2.3