This commit is contained in:
DashieTM 2024-08-25 01:18:49 +02:00
parent c429e7a201
commit d7cb5b90f4
2 changed files with 4 additions and 3 deletions

View file

@ -93,9 +93,9 @@
}; };
username = lib.mkOption { username = lib.mkOption {
default = lib.mkDefault "dashie"; default = "dashie";
example = "pingpang"; example = "pingpang";
# type = lib.types.str; type = lib.types.str;
description = '' description = ''
The username. The username.
''; '';

View file

@ -16,6 +16,7 @@ let
inputs.dashvim.homeManagerModules.dashvim inputs.dashvim.homeManagerModules.dashvim
../modules ../modules
]; ];
usernamePassed = config.conf.username;
in { in {
xdg = { xdg = {
portal.config.common.default = "*"; portal.config.common.default = "*";
@ -29,7 +30,7 @@ in {
useUserPackages = true; useUserPackages = true;
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
users.${config.conf.username} = { users.${usernamePassed} = {
imports = [ imports = [
./common.nix ./common.nix
./xdg.nix ./xdg.nix