Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { config, pkgs, ... }:
- {
- imports =
- [ # Include the results of the hardware scan.
- ./hardware-configuration.nix
- ./keybase.nix
- ./cachix.nix
- ];
- # Use the systemd-boot EFI boot loader.
- boot.loader.systemd-boot.enable = true;
- boot.loader.efi.canTouchEfiVariables = true;
- networking.hostName = "nixos"; # Define your hostname.
- # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
- # The global useDHCP flag is deprecated, therefore explicitly set to false here.
- # Per-interface useDHCP will be mandatory in the future, so this generated config
- # replicates the default behaviour.
- networking.useDHCP = false;
- networking.interfaces.enp2s0.useDHCP = true;
- networking.interfaces.wlp4s0.useDHCP = true;
- networking.networkmanager.enable = true;
- hardware.enableRedistributableFirmware = true;
- let
- all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
- in
- {
- # List packages installed in system profile. To search, run:
- # $ nix search wget
- environment.systemPackages = with pkgs; [
- brave
- clawsMail
- # discord
- ghc
- git
- google-chrome
- gzip
- wget vim
- firefox
- kbfs
- keybase
- keybase-gui
- nodejs-12_x
- nodePackages.typescript
- # nodePackages.expo-cli
- # pgadmin
- postgis
- postgresql
- quassel
- stack
- slack
- tdesktop
- unzip
- vscode
- zip
- zoom-us
- # [
- # Install stable HIE for GHC 8.6.4, 8.6.3 and 8.4.3
- (all-hies.selection { selector = p: { inherit (p) ghc864 ghc863 ghc843; }; })
- # ];
- ];
- }
- nixpkgs.config.allowUnfree = true;
- # List services that you want to enable:
- # Enable the OpenSSH daemon.
- services.openssh.enable = true;
- # Open ports in the firewall.
- # networking.firewall.allowedTCPPorts = [ ... ];
- # networking.firewall.allowedUDPPorts = [ ... ];
- # Or disable the firewall altogether.
- # networking.firewall.enable = false;
- # Enable CUPS to print documents.
- services.printing.enable = true;
- # Enable sound.
- sound.enable = true;
- hardware.pulseaudio.enable = true;
- hardware.bluetooth.enable = true;
- services.blueman.enable = true;
- # Enable the X11 windowing system.
- services.xserver.enable = true;
- services.xserver.layout = "us";
- services.xserver.xkbOptions = "eurosign:e";
- # Enable touchpad support.
- services.xserver.libinput.enable = true;
- # Enable the KDE Desktop Environment.
- services.xserver.displayManager.sddm.enable = true;
- services.xserver.desktopManager.plasma5.enable = true;
- # Define a user account. Don't forget to set a password with ‘passwd’.
- users.users.level = {
- isNormalUser = true;
- extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
- };
- security.sudo.wheelNeedsPassword = false;
- # This value determines the NixOS release from which the default
- # settings for stateful data, like file locations and database versions
- # on your system were taken. It‘s perfectly fine and recommended to leave
- # this value at the release version of the first install of this system.
- # Before changing this value read the documentation for this option
- # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
- system.stateVersion = "20.03"; # Did you read the comment?
- }
Add Comment
Please, Sign In to add comment