Beginnings of config for Darwin machines

Split out a platforms/ directory with a linux.nix and darwin.nix, and
starting splitting things out between the two
This commit is contained in:
Griffin Smith 2020-05-26 10:43:19 -04:00
parent 86b5f58ca5
commit 9036dc7c32
10 changed files with 300 additions and 183 deletions

38
home/modules/common.nix Normal file
View file

@ -0,0 +1,38 @@
{ config, lib, pkgs, ... }:
{
imports = [
../modules/shell.nix
../modules/development.nix
../modules/emacs.nix
../modules/vim.nix
../modules/tarsnap.nix
];
nixpkgs.config.allowUnfree = true;
programs.password-store.enable = true;
impure.clonedRepos.passwordStore = {
github = "glittershark/pass";
path = ".local/share/password-store";
};
home.packages = with pkgs; [
htop
killall
bind
zip unzip
tree
ncat
gnupg
keybase
openssl
# Nix things
nixfmt
nix-prefetch-github
nix-review
cachix
];
}