mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-07-16 22:21:55 +08:00
chore: move to username variable (2)
This commit is contained in:
parent
b2c18291f0
commit
e59e70c070
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ username, ... }:
|
||||
{
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
# enableNvidia = true;
|
||||
};
|
||||
|
||||
users.users.liv = {
|
||||
users.users.${username} = {
|
||||
extraGroups = [ "docker" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue