Advertisement
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
- ];
- nixpkgs.config.allowUnfree = true;
- system.autoUpgrade.enable = true;
- system.autoUpgrade.channel = "https://nixos.org/channels/nixos-19.09";
- hardware.pulseaudio.enable = true;
- # Use the systemd-boot EFI boot loader.
- boot.loader.systemd-boot.enable = true;
- boot.loader.efi.canTouchEfiVariables = true;
- boot.initrd.kernelModules = ["wl"];
- boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
- # boot.kernelParams = [ "iommu=soft" ];
- boot.plymouth.enable = true;
- boot.kernelPackages = pkgs.linuxPackages_5_2;
- networking.hostName = "<censored>"; # Define your hostname.
- networking.networkmanager.enable = true;
- # Select internationalisation properties.
- # i18n = {
- # consoleFont = "Lat2-Terminus16";
- # consoleKeyMap = "us";
- # defaultLocale = "en_US.UTF-8";
- # };
- # Set your time zone.
- time.timeZone = "Europe/Amsterdam";
- # List packages installed in system profile. To search by name, run:
- # $ nix-env -qaP | grep wget
- environment.systemPackages = with pkgs; [
- wget
- vim
- firefox
- discord
- thunderbird
- glxinfo
- keepass
- git
- kate
- gparted
- woeusb
- steam
- xscreensaver
- ark
- gnumake
- pciutils
- shutter
- krita
- vscodium
- alarm-clock-applet
- riot-desktop
- quaternion
- remmina
- gimp
- okular
- ];
- # List services that you want to enable:
- # 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 CUPS to print documents.
- # services.printing.enable = true;
- # Enable the X11 windowing system.
- #
- services.xserver.enable = true;
- # services.xserver.layout = "us";
- # services.xserver.xkbOptions = "eurosign:e";
- services.xserver.inputClassSections = [''
- Identifier "pointer"
- Driver "evdev"
- MatchUSBID "046d:c069"
- Option "ButtonMapping" "1 3 2"
- ''
- ];
- #displayManager.sessionCommands = ''
- # xscreensaver -no-splash &
- # '';
- hardware.opengl.driSupport32Bit = true;
- # Enable the KDE Desktop Environment.
- services.xserver.displayManager.sddm.enable = true;
- services.xserver.desktopManager.plasma5.enable = true;
- services.earlyoom = {
- enable = true;
- freeMemThreshold = 5;
- };
- # Define a user account. Don't forget to set a password with ‘passwd’.
- users.extraUsers.werner = {
- isNormalUser = true;
- uid = 1000;
- extraGroups = [ "wheel" "networkmanager" "audio" ];
- };
- # The NixOS release to be compatible with for stateful data such as databases.
- system.stateVersion = "17.03";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement