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