Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

128 строки
3.3 KiB

  1. ###################################################
  2. #
  3. # HMS NixOS Conf
  4. # 2020-8-29
  5. #
  6. { config, pkgs, ... }:
  7. {
  8. imports =
  9. [ # Include the results of the hardware scan.
  10. ./hardware-configuration.nix
  11. # home-manager config
  12. #./home.nix
  13. ];
  14. #### Boot
  15. boot.loader.grub.enable = true;
  16. boot.loader.grub.version = 2;
  17. boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
  18. #### Network
  19. networking.useDHCP = false;
  20. networking.interfaces.ens18.useDHCP = true;
  21. #### Time/Date
  22. time.timeZone = "America/Los_Angeles";
  23. #### Packages
  24. nixpkgs.config = {
  25. allowUnfree = true;
  26. };
  27. environment.systemPackages = with pkgs; [
  28. # Basics
  29. mc
  30. git
  31. wget
  32. youtube-dl
  33. tmux
  34. neofetch
  35. sakura
  36. firefox
  37. home-manager
  38. # WM Helpers
  39. dmenu
  40. # xdg
  41. xdg-user-dirs
  42. xdg_utils
  43. # Editors
  44. vscode
  45. nano
  46. vim
  47. # Social
  48. discord
  49. signal-desktop
  50. # Design
  51. darktable
  52. inkscape
  53. gimp
  54. # Torrents
  55. transmission
  56. # Other
  57. simplenote
  58. # Auth
  59. yubioath-desktop
  60. ];
  61. #### Services
  62. services.sshd.enable = true;
  63. #### xserver
  64. services.xserver.enable = true;
  65. services.xserver.layout = "us";
  66. # Display Manager
  67. services.xserver.displayManager.lightdm.enable = true;
  68. services.xserver.displayManager.defaultSession = "none+awesome";
  69. services.xserver.displayManager.lightdm.greeters.mini = {
  70. enable = true;
  71. user = "hms";
  72. extraConfig = ''
  73. [greeter]
  74. show-password-label = true
  75. password-label-text = Enter Credentials:
  76. invalid-password-text = Credentials Invalid
  77. show-input-cursor = true
  78. password-alignment = right
  79. show-image-on-all-monitors = false
  80. [greeter-theme]
  81. background-image = ""
  82. font = "Sans"
  83. font-size = 1em
  84. font-weight = bold
  85. font-style = normal
  86. text-color = "#080800"
  87. error-color = "#F8F8F0"
  88. background-color = "#1B1D1E"
  89. window-color = "#F92672"
  90. border-color = "#080800"
  91. border-width = 2px
  92. layout-space = 15
  93. password-color = "#F8F8F0"
  94. password-background-color = "#1B1D1E"
  95. password-border-color = "#080800"
  96. password-border-width = 2px
  97. '';
  98. };
  99. # Desktop Manager
  100. #services.xserver.desktopManager.mate.enable = true;
  101. # Window Manager
  102. services.xserver.windowManager.awesome.enable = true;
  103. #### User
  104. users.users.hms = {
  105. isNormalUser = true;
  106. home = "/home/hms";
  107. extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
  108. };
  109. # This value determines the NixOS release from which the default
  110. # settings for stateful data, like file locations and database versions
  111. # on your system were taken. It‘s perfectly fine and recommended to leave
  112. # this value at the release version of the first install of this system.
  113. # Before changing this value read the documentation for this option
  114. # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
  115. system.stateVersion = "20.03"; # Did you read the comment?
  116. }