Commit 2de9ba6
committed
nixos: refer to real os name of the user
The name passed in via `environment.persistence.<root>.users.<name>` is expected to match `users.users.<name>`. However, that may not be the actual username of the user known to the OS if `users.users.<name>.name` is set to something else.1 parent 7b1d382 commit 2de9ba6
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
374 | 372 | | |
375 | | - | |
| 373 | + | |
376 | 374 | | |
377 | 375 | | |
378 | 376 | | |
| |||
0 commit comments