dots/modules/common/nixos/all-hosts.nix

52 lines
869 B
Nix

{ config, pkgs, hostname, username, ... }: {
imports = [
./internationalisation.nix
];
environment = {
shells = with pkgs; [ bash zsh ];
systemPackages = with pkgs; [
angryipscanner
dconf2nix
file
neofetch
python3
tailscale
];
};
fonts.fontDir.enable = false;
fonts.packages = with pkgs; [
font-awesome
(nerdfonts.override {
fonts = [
"Hack"
"SourceCodePro"
];
})
];
networking.hostName = "${hostname}";
nix.settings = {
allowed-users = [ "${username}" ];
experimental-features = [
"flakes"
"nix-command"
];
};
programs = {
zsh.enable = true;
};
security.sudo.wheelNeedsPassword = false;
services.tailscale = {
enable = true;
};
time.timeZone = "America/New_York";
users.defaultUserShell = pkgs.zsh;
}