-
-
Save alpmestan/f2f402ee5e84a18fe101aa6268406641 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix | |
]; | |
environment.variables = { | |
BROWSER = pkgs.lib.mkOverride 0 "chromium"; | |
EDITOR = pkgs.lib.mkOverride 0 "emacs"; | |
}; | |
environment.systemPackages = with pkgs; [ | |
wget gitAndTools.gitFull networkmanagerapplet openssl htop xorg.xbacklight | |
source-code-pro terminator spotify tree | |
chromium mplayer wine steam file hexchat | |
skype mumble vlc pdftk which zip unrar inetutils | |
inkscape aspell aspellDicts.fr aspellDicts.en | |
bashCompletion coreutils elfutils ghostscript | |
thunderbird binutils gdb nox glxinfo xclip | |
(emacsWithPackages | |
(ps: with ps; | |
[ yaml-mode haskell-mode markdown-mode nix-mode | |
] | |
) | |
) | |
simplescreenrecorder pavucontrol virtualbox ghcgo | |
virtmanager virtinst | |
]; | |
boot.kernelModules = [ "kvm-intel" ]; | |
virtualisation.libvirtd.enable = true; | |
virtualisation.libvirtd.enableKVM = true; | |
users.users.alp.extraGroups = [ "libvirtd" ]; | |
environment.variables."LIBVIRT_DEFAULT_URI" = "qemu:///system"; | |
services.xserver = { | |
enable = true; | |
layout = "fr"; | |
xkbOptions = "eurosign:e"; | |
autorun = true; | |
libinput.enable = true; | |
libinput.scrollMethod = "twofinger"; | |
libinput.horizontalScrolling = true; | |
libinput.tapping = true; | |
libinput.tappingDragLock = true; | |
libinput.disableWhileTyping = true; | |
monitorSection = '' | |
DisplaySize 406 228 | |
''; | |
displayManager.gdm.enable = true; | |
displayManager.gdm.autoLogin.enable = true; | |
displayManager.gdm.autoLogin.user = "alp"; | |
desktopManager.gnome3.enable = true; | |
}; | |
# ... definitely irrelevant stuffs ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment