dotfiles.nix/nixos/profiles/linux/base.nix

24 lines
571 B
Nix

{pkgs, ...}: {
imports = [../common.nix];
console.keyMap = "colemak";
console.packages = [pkgs.terminus_font];
i18n.defaultLocale = "en_US.UTF-8";
programs.command-not-found.enable = false;
programs.zsh.loginShellInit = ''
reexec() {
unset __NIX_OS_SET_ENVIRONMENT_DONE
unset __ETC_ZPROFILE_SOURCED __ETC_ZSHENV_SOURCED __ETC_ZSHRC_SOURCED
exec $SHELL -c 'echo >&2 "reexecuting shell: $SHELL" && exec $SHELL -l'
}
'';
services.udev.enable = true;
services.openssh.enable = true;
system.stateVersion = "23.11";
}