test
This commit is contained in:
parent
c429e7a201
commit
d7cb5b90f4
2 changed files with 4 additions and 3 deletions
|
|
@ -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.
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue