mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 17:24:35 +00:00
23 lines
327 B
Nix
23 lines
327 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.myOptions.system;
|
|
in {
|
|
networking.hostName = cfg.hostname;
|
|
|
|
# Default shell for the user
|
|
programs.zsh.enable = true;
|
|
|
|
users = {
|
|
users.${cfg.username} = {
|
|
isNormalUser = true;
|
|
extraGroups = ["wheel"];
|
|
shell = pkgs.zsh;
|
|
};
|
|
};
|
|
}
|