nixdots/system/shared/system.nix

18 lines
321 B
Nix
Raw Normal View History

2024-03-24 12:18:51 +00:00
{ config, lib, pkgs, ... }: with lib; let
2024-03-21 20:47:25 +00:00
cfg = config.myOptions.system;
in
{
networking.hostName = cfg.hostname;
2024-03-24 12:18:51 +00:00
# Default shell for the user
programs.zsh.enable = true;
2024-03-21 20:47:25 +00:00
users = {
users.${cfg.username} = {
isNormalUser = true;
extraGroups = [ "wheel" ];
2024-03-24 12:18:51 +00:00
shell = pkgs.zsh;
2024-03-21 20:47:25 +00:00
};
};
}