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 {
default = lib.mkDefault "dashie";
default = "dashie";
example = "pingpang";
# type = lib.types.str;
type = lib.types.str;
description = ''
The username.
'';

View file

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