Skip to content

Instantly share code, notes, and snippets.

@matthewbauer
Created January 28, 2019 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewbauer/25d5245e7900f955b07c0f4a4224f6c7 to your computer and use it in GitHub Desktop.
Save matthewbauer/25d5245e7900f955b07c0f4a4224f6c7 to your computer and use it in GitHub Desktop.
# 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, lib, ... }:
let
hosts = builtins.fromJSON (builtins.readFile ./hosts.json);
in
{
imports = [
./hardware-configuration.nix
];
environment.systemPackages = with pkgs; [
chromium
];
programs.gnupg.agent.enable = true;
nixpkgs.config.allowUnfree = true;
hardware.enableRedistributableFirmware = true;
hardware.bluetooth.enable = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelParams = [ "acpi_osi=!" ''acpi_osi="Windows 2009"'' ];
boot.plymouth.enable = true;
networking.hostName = "dellbook";
networking.networkmanager.enable = true;
time.timeZone = "America/New_York";
fonts.enableDefaultFonts = true;
fonts.enableFontDir = true;
services.printing.enable = true;
i18n.consoleFont = "ter-132n";
services.xserver = {
enable = true;
autorun = true;
libinput.enable = true;
monitorSection = ''
DisplaySize 406 228
'';
displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true;
desktopManager.plasma5.enableQt4Support = false;
};
services.openssh.enable = true;
hardware.pulseaudio.enable = true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment