{ config, pkgs, ... }: let packages = (import ../lib/packages.nix) { config = config.nixpkgs.config; }; callPackageFile = path: (import path) packages; in { imports = [ (callPackageFile ../profiles/system/base.nix) (callPackageFile ../profiles/environment/graphical-environment.nix) (callPackageFile ../profiles/environment/plasma5.nix) (callPackageFile ../profiles/environment/common-software.nix) (callPackageFile ../profiles/system/networked.nix) (callPackageFile ../profiles/system/printing.nix) (callPackageFile ../profiles/system/scanning.nix) (callPackageFile ../profiles/system/pulseaudio.nix) (callPackageFile ../profiles/system/virtualization.nix) (callPackageFile ../profiles/software/yakuake.nix) (callPackageFile ../profiles/software/synergy.nix) (callPackageFile ../profiles/software/workrave.nix) ]; networking = { hostName = "laptop"; }; users.extraUsers.sven = { isNormalUser = true; uid = 1000; extraGroups = ["libvirtd"]; }; users.groups = { davfs2 = {}; }; users.extraUsers.davfs2 = { isNormalUser = true; }; boot = { kernelModules = [ "tun" "virtio" "nbd" ]; loader.grub = { enable = true; version = 2; device = "/dev/sda"; }; }; environment = { pathsToLink = [ "/lib/rustlib/src" ]; }; hardware.bluetooth.enable = true; hardware.pulseaudio.extraConfig = '' load-module module-loopback load-module module-combine-sink sink_name=all ''; /*networking.wireguard.interfaces = { wg0 = { ips = [ "192.168.3.2" ]; privateKey = (import ../private/credentials.nix).wireguard.privateKey; peers = [{ allowedIPs = [ "0.0.0.0/0" ]; publicKey = "MoU34/IBbMrcNnNQdVuJCJB7WZul3GTUwhEVJ7paIQI="; endpoint = "80.100.254.69:51820"; }]; }; };*/ nix.useSandbox = true; services.xserver.synaptics = { enable = true; }; }