rename the main user from 'nixos' => 'colin'
This commit is contained in:
@@ -7,10 +7,10 @@
|
|||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
|
|
||||||
# docs: https://nixpkgs-manual-sphinx-markedown-example.netlify.app/generated/options-db.xml.html#users-users
|
# docs: https://nixpkgs-manual-sphinx-markedown-example.netlify.app/generated/options-db.xml.html#users-users
|
||||||
users.users.nixos = {
|
users.users.colin = {
|
||||||
# sets group to "users" (?)
|
# sets group to "users" (?)
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/home/nixos";
|
home = "/home/colin";
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
# XXX colin: this is what the installer has, but is it necessary?
|
# XXX colin: this is what the installer has, but is it necessary?
|
||||||
# group = "users";
|
# group = "users";
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Automatically log in at the virtual consoles.
|
# Automatically log in at the virtual consoles.
|
||||||
services.getty.autologinUser = "nixos";
|
services.getty.autologinUser = "colin";
|
||||||
|
|
||||||
security.sudo = {
|
security.sudo = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
|
Reference in New Issue
Block a user