mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
allow both group and username to be changed
This commit is contained in:
parent
5d88ff2519
commit
010aa48cf6
1 changed files with 2 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ in
|
||||||
user = {
|
user = {
|
||||||
group = mkOption {
|
group = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
readOnly = true;
|
default = "nix-on-droid";
|
||||||
description = "Group name.";
|
description = "Group name.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -56,7 +56,7 @@ in
|
||||||
|
|
||||||
userName = mkOption {
|
userName = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
readOnly = true;
|
default = "nix-on-droid";
|
||||||
description = "User name.";
|
description = "User name.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -90,9 +90,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
user = {
|
user = {
|
||||||
group = "nix-on-droid";
|
|
||||||
home = "/data/data/com.termux.nix/files/home";
|
home = "/data/data/com.termux.nix/files/home";
|
||||||
userName = "nix-on-droid";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue