Created
January 28, 2019 21:11
-
-
Save matthewbauer/25d5245e7900f955b07c0f4a4224f6c7 to your computer and use it in GitHub Desktop.
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, 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