Guest User

Untitled

a guest
May 25th, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. l# Edit this configuration file to define what should be installed on
  2. # your system. Help is available in the configuration.nix(5) man page
  3. # and in the NixOS manual (accessible by running ‘nixos-help’).
  4.  
  5. { config, pkgs, ... }:
  6.  
  7. {
  8. imports =
  9. [ # Include the results of the hardware scan.
  10. ./hardware-configuration.nix
  11. ];
  12.  
  13. # Use the systemd-boot EFI boot loader.
  14. boot.loader.systemd-boot.enable = true;
  15. boot.loader.efi.canTouchEfiVariables = true;
  16.  
  17. # networking.hostName = "nixos"; # Define your hostname.
  18. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
  19.  
  20. # The global useDHCP flag is deprecated, therefore explicitly set to false here.
  21. # Per-interface useDHCP will be mandatory in the future, so this generated config
  22. # replicates the default behaviour.
  23. networking.useDHCP = false;
  24. networking.interfaces.enp2s0.useDHCP = true;
  25.  
  26. # Configure network proxy if necessary
  27. # networking.proxy.default = "http://user:password@proxy:port/";
  28. # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
  29.  
  30. # Select internationalisation properties.
  31. # i18n.defaultLocale = "en_US.UTF-8";
  32. # console = {
  33. # font = "Lat2-Terminus16";
  34. # keyMap = "us";
  35. # };
  36.  
  37. # Set your time zone.
  38. # time.timeZone = "Europe/Amsterdam";
  39.  
  40. # List packages installed in system profile. To search, run:
  41. # $ nix search wget
  42. # environment.systemPackages = with pkgs; [
  43. # wget vim
  44. # ];
  45.  
  46. # Some programs need SUID wrappers, can be configured further or are
  47. # started in user sessions.
  48. # programs.mtr.enable = true;
  49. # programs.gnupg.agent = {
  50. # enable = true;
  51. # enableSSHSupport = true;
  52. # pinentryFlavor = "gnome3";
  53. # };
  54.  
  55. # List services that you want to enable:
  56.  
  57. # Enable the OpenSSH daemon.
  58. # services.openssh.enable = true;
  59.  
  60. # Open ports in the firewall.
  61. # networking.firewall.allowedTCPPorts = [ ... ];
  62. # networking.firewall.allowedUDPPorts = [ ... ];
  63. # Or disable the firewall altogether.
  64. # networking.firewall.enable = false;
  65.  
  66. # Enable CUPS to print documents.
  67. # services.printing.enable = true;
  68.  
  69. # Enable sound.
  70. sound.enable = true;
  71. hardware.pulseaudio.enable = true;
  72. hardware.pulseaudio.support32Bit = true;
  73. # Enable the X11 windowing system.
  74. services.xserver.enable = true;
  75. services.xserver.layout = "us";
  76. services.xserver.xkbOptions = "eurosign:e";
  77.  
  78. # Enable touchpad support.
  79. # services.xserver.libinput.enable = true;
  80.  
  81. # Enable the KDE Desktop Environment.
  82. services.xserver.displayManager.sddm.enable = true;
  83. services.xserver.desktopManager.plasma5.enable = true;
  84.  
  85. # Define a user account. Don't forget to set a password with ‘passwd’.
  86. # users.users.jane = {
  87. # isNormalUser = true;
  88. # extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
  89. # };
  90.  
  91. # This value determines the NixOS release from which the default
  92. # settings for stateful data, like file locations and database versions
  93. # on your system were taken. It‘s perfectly fine and recommended to leave
  94. # this value at the release version of the first install of this system.
  95. # Before changing this value read the documentation for this option
  96. # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
  97. system.stateVersion = "20.03"; # Did you read the comment?
  98.  
  99. }
Add Comment
Please, Sign In to add comment