Skip to content

Instantly share code, notes, and snippets.

@adinapoli
Created November 13, 2015 08:00
Show Gist options
  • Save adinapoli/6c87cb86ea16786599a7 to your computer and use it in GitHub Desktop.
Save adinapoli/6c87cb86ea16786599a7 to your computer and use it in GitHub Desktop.
Clean Nix Config
{ config, pkgs, ... }:
{
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
# Define on which hard drive you want to install Grub.
boot.loader.grub.device = "/dev/sda";
# Select internationalisation properties.
i18n = {
consoleKeyMap = "dvorak";
defaultLocale = "en_US.UTF-8";
};
# Enable the X11 windowing system.
services.xserver.enable = true;
services.xserver.layout = "uk";
services.xserver.xkbVariant = "dvorak";
# Enable the KDE Desktop Environment.
services.xserver.displayManager.kdm.enable = true;
services.xserver.desktopManager.kde4.enable = true;
time.timeZone = "Europe/Rome";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment