You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.4 KiB

2 years ago
2 years ago
2 years ago
  1. { config, pkgs, ... }:
  2. {
  3. time.timeZone = "US/Eastern";
  4. i18n.defaultLocale = "en_US.UTF-8";
  5. console = {
  6. font = "Lat2-Terminus16";
  7. keyMap = "us";
  8. };
  9. nix = {
  10. package = pkgs.nixFlakes; # or versioned attributes like nix_2_7
  11. extraOptions = ''
  12. experimental-features = nix-command flakes
  13. '';
  14. };
  15. environment.systemPackages = with pkgs; [
  16. vim nano
  17. wget curl
  18. neofetch
  19. screen tmux fff
  20. bash dash git
  21. docker-compose
  22. nodejs
  23. ];
  24. virtualisation.docker.enable = true;
  25. programs.gnupg.agent = {
  26. enable = true;
  27. enableSSHSupport = true;
  28. };
  29. programs.zsh.enable = true;
  30. programs.zsh.ohMyZsh.enable = true;
  31. programs.zsh.autosuggestions.enable = true;
  32. programs.zsh.shellAliases = {
  33. "gac" = "git add . && git commit";
  34. "v" = "nvim";
  35. "c" = "clear";
  36. "s" = "ls";
  37. "e" = "exit";
  38. "sy" = "systemctl";
  39. "cp" = "cp -r";
  40. };
  41. programs.zsh.ohMyZsh.plugins = [ "git" "command-not-found" ];
  42. programs.zsh.syntaxHighlighting.enable = true;
  43. programs.starship.enable = true;
  44. # List services that you want to enable:
  45. # Enable the OpenSSH daemon.
  46. services.openssh.enable = true;
  47. # Open ports in the firewall.
  48. # networking.firewall.allowedTCPPorts = [ ... ];
  49. # networking.firewall.allowedUDPPorts = [ ... ];
  50. # Or disable the firewall altogether.
  51. networking.firewall.enable = false;
  52. system.copySystemConfiguration = true;
  53. }