Vla_DOS

configuration.nix

Aug 3rd, 2026
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. { config, pkgs, ... }:
  2.  
  3. {
  4. # Налаштування GRUB для вибору між NixOS та Windows
  5. boot.loader.grub = {
  6. enable = true;
  7. efiSupport = true;
  8. device = "nodev";
  9. useOSProber = true;
  10. };
  11. boot.loader.efi.canTouchEfiVariables = true;
  12.  
  13. programs.zsh.enable = true;
  14. users.users.vlad = {
  15. isNormalUser = true;
  16. extraGroups = [ "wheel" "networkmanager" ];
  17. shell = pkgs.zsh;
  18. };
  19.  
  20. # Розгортання локального сервера MySQL
  21. services.mysql = {
  22. enable = true;
  23. package = pkgs.mysql80;
  24. };
  25.  
  26. environment.systemPackages = with pkgs; [
  27. git
  28. wget
  29. niri
  30. ];
  31.  
  32. system.stateVersion = "26.05";
  33. }
  34.  
Advertisement
Add Comment
Please, Sign In to add comment