Skip to content

Instantly share code, notes, and snippets.

@RonnyPfannschmidt
Created May 30, 2016 17:52
Show Gist options
  • Save RonnyPfannschmidt/8d4050b27607edc8133e2d86edc1cae0 to your computer and use it in GitHub Desktop.
Save RonnyPfannschmidt/8d4050b27607edc8133e2d86edc1cae0 to your computer and use it in GitHub Desktop.
{ config, pkgs, ... }:
let enabled = {enable = true;}; in
{
boot.loader.grub = {
enable = true;
version = 2;
device = "/dev/sda";
};
security.sudo.wheelNeedsPassword = false;
security.audit.enable = false;
hardware.pulseaudio = {
enable = true;
support32Bit = true; # This might be needed for Steam games
package = pkgs.pulseaudioFull;
};
# Enable the OpenSSH daemon.
services = {
openssh = enabled;
printing = enabled;
acpid = enabled;
avahi = enabled;
};
# Enable the X11 windowing system.
services.xserver = {
displayManager.gdm = enabled;
desktopManager.gnome3 = enabled;
} // enabled;
programs.bash.enableCompletion = true;
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
vim
atom
gitFull
git-hub
kde4.kdiff3
gnupg21
gcc
libffi
pkgconfig
nox
psmisc
cv
wget
wgetpaste
grin
which
vagrant
gparted
gnome3.gnome-boxes
gnome3.gnome-disk-utility
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment