summaryrefslogtreecommitdiff
path: root/hosts/muhammed/dev-vm/configuration/user.nix
blob: bf2b93f150ae8d7528e4867720f64c84cf401148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  # Register the user which we will be logging into from the host.
  users.users.linus = {
    isNormalUser = true;
    password = "diller"; # Don't care. No security implications.
    extraGroups = ["wheel"];
  };

  home-manager.users.linus = {
    imports = [
      ../../../../shared/home-manager/development-full
    ];
    home.stateVersion = "24.05";
  };

  # Allow passwordless sudo for easy use. We don't have to be too worried about wrecking the system.
  security.sudo.extraRules = [
    {
      users = ["linus"];
      commands = ["ALL"];
    }
  ];
}