Update users.nix
This commit is contained in:
parent
a6c4e2b77b
commit
2e646d3054
1 changed files with 12 additions and 10 deletions
|
|
@ -2,8 +2,9 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
config = lib.mkIf (lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) {
|
||||||
users.users.fred = {
|
# Define a user account. Don't forget to set a password with 'passwd'.
|
||||||
|
users.users.fred = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "fred";
|
description = "fred";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
|
|
@ -12,4 +13,5 @@ users.users.fred = {
|
||||||
fastfetch
|
fastfetch
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue