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
- ];
- # 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"; # or "nodev" for efi only
- networking.hostName = "woogle"; # Define your hostname.
- networking.networkmanager.enable = true;
- # 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/Berlin";
- # Some programs need SUID wrappers, can be configured further or are
- # started in user sessions.
- programs.bash.enableCompletion = true;
- # programs.mtr.enable = true;
- # programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
- # Enable the OpenSSH daemon.
- # services.openssh.enable = true;
- # Open ports in the firewall.
- # networking.firewall.allowedTCPPorts = [ ... ];
- # networking.firewall.allowedUDPPorts = [ ... ];
- # Or disable the firewall altogether.
- # networking.firewall.enable = false;
- # Enable sound.
- sound.enable = true;
- hardware = {
- enableAllFirmware = true;
- opengl.driSupport32Bit = true;
- sane.enable = true;
- pulseaudio.enable = true;
- };
- services = {
- printing.enable = true;
- # Enable the X11 windowing system.
- xserver = {
- enable = true;
- layout = "us";
- xkbOptions = "lv3:ralt_switch,eurosign:e";
- # Enable touchpad support.
- libinput.enable = true;
- displayManager = {
- slim.defaultUser = "boogle";
- slim.autoLogin = true;
- slim.enable = true;
- sessionCommands = "${pkgs.xorg.xkbcomp}/bin/xkbcomp ${./beakool.xkb} $DISPLAY";
- };
- # Enable the xfce Desktop Environment.
- desktopManager = {
- xfce.enable = true;
- default = "xfce";
- xterm.enable = false;
- };
- };
- };
- # Define a user account. Don't forget to set a password with ‘passwd’.
- users.extraUsers.boogle = {
- isNormalUser = true;
- uid = 1000;
- createHome = true;
- home = "/home/boogle";
- extraGroups = [ "wheel" ];
- };
- environment.systemPackages = with pkgs; [
- vim
- htop
- firefox
- gimp
- pinta
- leafpad
- scrot
- pidgin
- discord
- steam
- # utils
- xfce.xfce4-whiskermenu-plugin
- xorg.xkbcomp
- xorg.setxkbmap
- xfce.terminal
- gnome3.file-roller
- glibcLocales
- lm_sensors
- evince
- p7zip
- ntfs3g
- unzip
- wget
- git
- ntfs3g
- xdg_utils
- xlibs.xcursorthemes
- xlibs.mkfontdir
- xlibs.xev
- xlibs.xprop
- chkrootkit
- clamav
- # audio/video
- ffmpeg
- mpv
- vlc
- pavucontrol
- pasystray
- # dev
- gnumake
- binutils-unwrapped
- python
- clang
- cmake
- gcc
- lua
- pkgconfig
- haskell
- ihaskell
- ghc
- hlint
- cabal-install
- cabal2nix
- nix-prefetch-git
- haskellPackages.hdevtools
- haskellPackages.GLUT
- haskellPackages.GLUtil
- # theme
- adapta-gtk-theme
- numix-icon-theme
- numix-icon-theme-circle
- numix-icon-theme-square
- numix-solarized-gtk-theme
- numix-sx-gtk-theme
- xorg.xcursorgen
- xorg.xcursorthemes
- arc-icon-theme
- arc-theme
- ];
- nixpkgs.config.allowUnfree = true;
- # This value determines the NixOS release with which your system is to be
- # compatible, in order to avoid breaking some software such as database
- # servers. You should change this only after NixOS release notes say you
- # should.
- system.stateVersion = "18.03"; # Did you read the comment?
- }
Advertisement
Add Comment
Please, Sign In to add comment