Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Edit this configuration file to define what should be installed on
- # your system. Help is available in the configuration.nix(5) man page
- # and in the NixOS manual (accessible by running ‘nixos-help’).
- { config, pkgs, ... }:
- {
- imports =
- [ # Include the results of the hardware scan.
- ./hardware-configuration.nix
- ];
- nixpkgs.config = import ./nixpkgs.nix;
- boot.loader.gummiboot.enable = true;
- boot.loader.efi.canTouchEfiVariables = true;
- boot.supportedFilesystems = [ "exfat" ];
- i18n = {
- consoleFont = "Lat2-Terminus16";
- consoleKeyMap = "us";
- defaultLocale = "en_US.UTF-8";
- };
- time.timeZone = "America/Chicago";
- environment.systemPackages = with pkgs; [
- wget xfce.xfce4_whiskermenu_plugin python34Packages.powerline
- ];
- system.stateVersion = "16.09";
- users.users.max = {
- isNormalUser = true;
- initialPassword = "hunter2";
- extraGroups = [ "wheel" ];
- };
- programs.zsh.enable = true;
- users.defaultUserShell = "/run/current-system/sw/bin/zsh";
- networking.wireless.enable = true;
- networking.hostName = "nix-desktop";
- networking.nameservers = [ "8.8.8.8" "8.8.4.4" ];
- services.printing.enable = true;
- services.openssh.enable = true;
- services.xserver = {
- enable = true;
- videoDrivers = [ "nvidia" ];
- displayManager.slim.enable = true;
- desktopManager.xfce.enable = true;
- desktopManager.xterm.enable = false;
- };
- hardware.pulseaudio.enable = true;
- security.audit.enable = false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement