You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm playing around with a basic DevOS configuration, and I'd like to rename the default user, but something seems to be hard-coded to refer to the nixos user. Here's what I've attempted so far:
error: attribute 'test' missing
at /nix/store/37v2bwx9ij1gnm226v7k3ydjm4knz0j2-source/users/test/default.nix:3:25:
2| {
3| home-manager.users = { inherit (hmUsers) test; };
| ^
4|
(use '--show-trace' to show detailed location information)
Reverting the change to the home-manager.users line produces a different error:
error:
Failed assertions:
- Exactly one of users.users.nixos.isSystemUser and users.users.nixos.isNormalUser must be set.
(use '--show-trace' to show detailed location information)
I got this to work with a previous version of the template, so if it's not immediately obvious what I'm missing, I can run a git bisect later when I have more time.
The text was updated successfully, but these errors were encountered:
You know, I'm pretty sure I did, and it worked. And then I realized I'd previously done something that messed up all my diffs, so I reverted everything, tried to walk back through the steps, and failed to find the option again. I assumed in my sleep-deprived stupor that I must have accidentally merged stuff from an older version of the template into the latest version or something.
I'm playing around with a basic DevOS configuration, and I'd like to rename the default user, but something seems to be hard-coded to refer to the
nixos
user. Here's what I've attempted so far:Start from commit
287cb82d
.Run
bud vm NixOS
. The VM builds.Apply the following patch:
Now
bud vm NixOS
fails with the following:Reverting the change to the
home-manager.users
line produces a different error:I got this to work with a previous version of the template, so if it's not immediately obvious what I'm missing, I can run a
git bisect
later when I have more time.The text was updated successfully, but these errors were encountered: