From 9b0220f68fa95b8f2b1d6d3ee3466798a134f57e Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 13 May 2017 10:41:48 -0400 Subject: Add refactored nixos configuration for laptop pincer. --- config/common.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 config/common.nix (limited to 'config/common.nix') diff --git a/config/common.nix b/config/common.nix new file mode 100644 index 0000000..b23619a --- /dev/null +++ b/config/common.nix @@ -0,0 +1,33 @@ +{ config, lib, pkgs, ... }: +{ + site = { + ports = { + }; + }; + + programs.fish.enable = true; + + environment.shellAliases = { + vim = "nvim"; + }; + environment.systemPackages = with pkgs; [ + dnsutils + gnupg + haskellPackages.hledger + mosh + neovim + nix-repl + nox + silver-searcher + whois + ]; + time.timeZone = "America/New_York"; + + nix = { + useSandbox = true; + maxJobs = 8; + buildCores = 0; # auto configure + }; + + boot.cleanTmpDir = true; +} -- cgit v1.2.3