-
-
Save aweiher/144c4aa5806a099b6349ab831b7b5d2a to your computer and use it in GitHub Desktop.
nixos config
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
# 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 | |
]; | |
# Use the systemd-boot EFI boot loader. | |
boot.loader.systemd-boot.enable = true; | |
boot.loader.efi.canTouchEfiVariables = true; | |
boot.initrd.luks.devices = [ | |
{ | |
name = "root"; | |
device = "/dev/sda3"; | |
preLVM = true; | |
} | |
]; | |
boot.loader.grub.device = "/dev/sda"; | |
# networking.hostName = "nixos"; # Define your hostname. | |
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. | |
# Select internationalisation properties. | |
# i18n = { | |
# consoleFont = "Lat2-Terminus16"; | |
# consoleKeyMap = "us"; | |
# defaultLocale = "en_US.UTF-8"; | |
# }; | |
# Set your time zone. | |
time.timeZone = "Europe/Amsterdam"; | |
nixpkgs.config.allowUnfree = true; | |
# List packages installed in system profile. To search by name, run: | |
# $ nix-env -qaP | grep wget | |
environment.systemPackages = with pkgs; [ | |
wget | |
vim | |
pkgs.i3status | |
pkgs.dmenu | |
]; | |
# List services that you want to enable: | |
# Enable the OpenSSH daemon. | |
services.openssh.enable = true; | |
services.openssh.permitRootLogin = "yes"; | |
# Enable CUPS to print documents. | |
# services.printing.enable = true; | |
# Enable the X11 windowing system. | |
services.xserver.enable = true; | |
services.xserver.videoDrivers = ["intel"]; | |
services.xserver.layout = "de"; | |
services.xserver.xkbOptions = "eurosign:e"; | |
# Enable the KDE Desktop Environment. | |
# services.xserver.displayManager.kdm.enable = true; | |
# services.xserver.desktopManager.kde4.enable = true; | |
services.xserver.windowManager.i3.enable = true; | |
services.xserver.windowManager.default = "i3"; | |
# Define a user account. Don't forget to set a password with ‘passwd’. | |
# users.extraUsers.guest = { | |
# isNormalUser = true; | |
# uid = 1000; | |
# }; | |
users.extraUsers.defel = { | |
isNormalUser = true; | |
uid = 1001; | |
home = "/home/defel"; | |
}; | |
# The NixOS release to be compatible with for stateful data such as databases. | |
system.stateVersion = "16.09"; | |
} |
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
Feb 01 10:45:10 nixos display-manager[24973]: Current version of pixman: 0.34.0 | |
Feb 01 10:45:10 nixos display-manager[24973]: Before reporting problems, check http://wiki.x.org | |
Feb 01 10:45:10 nixos display-manager[24973]: to make sure that you have the latest version. | |
Feb 01 10:45:10 nixos display-manager[24973]: Markers: (--) probed, (**) from config file, (==) default setting, | |
Feb 01 10:45:10 nixos display-manager[24973]: (++) from command line, (!!) notice, (II) informational, | |
Feb 01 10:45:10 nixos display-manager[24973]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. | |
Feb 01 10:45:10 nixos display-manager[24973]: (++) Log file: "/dev/null", Time: Wed Feb 1 10:45:10 2017 | |
Feb 01 10:45:10 nixos display-manager[24973]: (++) Using config file: "/nix/store/6zqjl95pfxs15b9540jm05ykxs5mqjd8-xserver.conf" | |
Feb 01 10:45:10 nixos display-manager[24973]: (==) Using config directory: "/etc/X11/xorg.conf.d" | |
Feb 01 10:45:10 nixos display-manager[24973]: (==) Using system config directory "/nix/store/fmqq3abvi9qkh5lkll1mcb268qamnky8-xorg-server-1.18.4/share/X11/xorg.conf.d" | |
Feb 01 10:45:10 nixos display-manager[24973]: (==) ServerLayout "Layout[all]" | |
Feb 01 10:45:10 nixos display-manager[24973]: (**) |-->Screen "Screen-intel[0]" (0) | |
Feb 01 10:45:10 nixos display-manager[24973]: (**) | |-->Monitor "<default monitor>" | |
Feb 01 10:45:10 nixos display-manager[24973]: (**) | |-->Device "Device-intel[0]" | |
Feb 01 10:45:10 nixos display-manager[24973]: (==) No monitor specified for screen "Screen-intel[0]". | |
Feb 01 10:45:10 nixos display-manager[24973]: Using a default monitor configuration. | |
Feb 01 10:45:10 nixos display-manager[24973]: (**) Option "DontZap" "on" | |
Feb 01 10:45:10 nixos display-manager[24973]: (**) Option "AllowMouseOpenFail" "on" | |
Feb 01 10:45:10 nixos display-manager[24973]: (==) Automatically adding devices | |
Feb 01 10:45:10 nixos display-manager[24973]: (==) Automatically enabling devices | |
Feb 01 10:45:10 nixos display-manager[24973]: (==) Automatically adding GPU devices | |
Feb 01 10:45:10 nixos display-manager[24973]: (==) Max clients allowed: 256, resource mask: 0x1fffff | |
Feb 01 10:45:10 nixos display-manager[24973]: (**) FontPath set to: | |
Feb 01 10:45:10 nixos display-manager[24973]: /nix/store/dnws4misfhjq3ysr894nv1fqykavkjz8-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi, | |
Feb 01 10:45:10 nixos display-manager[24973]: /nix/store/drjlyjqmh3m8hphw01znzn7fp8g8rqrp-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi, | |
Feb 01 10:45:10 nixos display-manager[24973]: /nix/store/3b4ckqs9i9240arr3bcbbk7nzwc3lcpk-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi, | |
Feb 01 10:45:10 nixos display-manager[24973]: /nix/store/n743hcavz2c65yv9y5g387ic9zd2jpm8-font-misc-misc-1.1.2/lib/X11/fonts/misc, | |
Feb 01 10:45:10 nixos display-manager[24973]: /nix/store/8lhycwbwmca1n0zjjyg4476zc48jj9bh-font-cursor-misc-1.0.3/lib/X11/fonts/misc, | |
Feb 01 10:45:10 nixos display-manager[24973]: /nix/store/q4d64k0zdcwwx5cgyykhwrxbyxpi86mf-unifont-9.0.04/share/fonts, | |
Feb 01 10:45:10 nixos display-manager[24973]: /nix/store/xpmznsfhsl869m3j5z4gxzy0wv3k2wvz-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi, | |
Feb 01 10:45:10 nixos display-manager[24973]: /nix/store/mydm0zmg3yg8dngy82hb5122g5gcn6w0-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi | |
Feb 01 10:45:10 nixos display-manager[24973]: (**) ModulePath set to "/nix/store/9qnnx7s716hk7yn7szdhpbkp37p6h21c-xf86-video-intel-2016-05-22/lib,/nix/store/9qnnx7s716hk7yn7szdhpbkp37p6h21c- | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) The server relies on udev to provide the list of input devices. | |
Feb 01 10:45:10 nixos display-manager[24973]: If no devices become available, reconfigure udev or disable AutoAddDevices. | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) Loader magic: 0x81ad20 | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) Module ABI versions: | |
Feb 01 10:45:10 nixos display-manager[24973]: X.Org ANSI C Emulation: 0.4 | |
Feb 01 10:45:10 nixos display-manager[24973]: X.Org Video Driver: 20.0 | |
Feb 01 10:45:10 nixos display-manager[24973]: X.Org XInput driver : 22.1 | |
Feb 01 10:45:10 nixos display-manager[24973]: X.Org Server Extension : 9.0 | |
Feb 01 10:45:10 nixos display-manager[24973]: (++) using VT number 7 | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration | |
Feb 01 10:45:10 nixos display-manager[24973]: (--) PCI:*(0:0:2:0) 8086:193b:8086:2064 rev 9, Mem @ 0xdb000000/16777216, 0x90000000/268435456, I/O @ 0x0000f000/64 | |
Feb 01 10:45:10 nixos display-manager[24973]: (WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused) | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) "glx" will be loaded by default. | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) LoadModule: "glx" | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) Loading /nix/store/fmqq3abvi9qkh5lkll1mcb268qamnky8-xorg-server-1.18.4/lib/xorg/modules/extensions/libglx.so | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) Module glx: vendor="X.Org Foundation" | |
Feb 01 10:45:10 nixos display-manager[24973]: compiled for 1.18.4, module version = 1.0.0 | |
Feb 01 10:45:10 nixos display-manager[24973]: ABI class: X.Org Server Extension, version 9.0 | |
Feb 01 10:45:10 nixos display-manager[24973]: (==) AIGLX enabled | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) LoadModule: "intel" | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) Loading /nix/store/9qnnx7s716hk7yn7szdhpbkp37p6h21c-xf86-video-intel-2016-05-22/lib/xorg/modules/drivers/intel_drv.so | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) Module intel: vendor="X.Org Foundation" | |
Feb 01 10:45:10 nixos display-manager[24973]: compiled for 1.18.4, module version = 2.99.917 | |
Feb 01 10:45:10 nixos display-manager[24973]: Module class: X.Org Video Driver | |
Feb 01 10:45:10 nixos display-manager[24973]: ABI class: X.Org Video Driver, version 20.0 | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: | |
Feb 01 10:45:10 nixos display-manager[24973]: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, | |
Feb 01 10:45:10 nixos display-manager[24973]: 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, | |
Feb 01 10:45:10 nixos display-manager[24973]: Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, | |
Feb 01 10:45:10 nixos display-manager[24973]: GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) intel: Driver for Intel(R) HD Graphics: 2000-6000 | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100 | |
Feb 01 10:45:10 nixos display-manager[24973]: (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300 | |
Feb 01 10:45:10 nixos display-manager[24973]: (EE) No devices detected. | |
Feb 01 10:45:10 nixos display-manager[24973]: (EE) | |
Feb 01 10:45:10 nixos display-manager[24973]: Fatal server error: | |
Feb 01 10:45:10 nixos display-manager[24973]: (EE) no screens found(EE) | |
Feb 01 10:45:10 nixos display-manager[24973]: (EE) | |
Feb 01 10:45:10 nixos display-manager[24973]: Please consult the The X.Org Foundation support | |
Feb 01 10:45:10 nixos display-manager[24973]: at http://wiki.x.org | |
Feb 01 10:45:10 nixos display-manager[24973]: for help. | |
Feb 01 10:45:10 nixos display-manager[24973]: (EE) Please also check the log file at "/dev/null" for additional information. | |
Feb 01 10:45:10 nixos display-manager[24973]: (EE) | |
Feb 01 10:45:10 nixos display-manager[24973]: (EE) Server terminated with error (1). Closing log file. | |
Feb 01 10:45:11 nixos systemd[1]: display-manager.service: Main process exited, code=exited, status=1/FAILURE | |
Feb 01 10:45:11 nixos systemd[1]: display-manager.service: Unit entered failed state. | |
Feb 01 10:45:11 nixos systemd[1]: display-manager.service: Failed with result 'exit-code'. | |
Feb 01 10:45:11 nixos systemd[1]: display-manager.service: Service hold-off time over, scheduling restart. | |
Feb 01 10:45:11 nixos systemd[1]: Stopped X11 Server. | |
Feb 01 10:45:11 nixos systemd[1]: display-manager.service: Start request repeated too quickly. | |
Feb 01 10:45:11 nixos systemd[1]: Failed to start X11 Server. | |
Feb 01 10:45:11 nixos systemd[1]: display-manager.service: Unit entered failed state. | |
Feb 01 10:45:11 nixos systemd[1]: display-manager.service: Failed with result 'start-limit-hit'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment