some adjustments to per-platform config

This commit is contained in:
Griffin Smith 2020-05-26 11:27:54 -04:00
parent 9b2dd5c20f
commit 0275aaec03
5 changed files with 20 additions and 20 deletions

View file

@ -1,5 +1,7 @@
{ config, lib, pkgs, ... }:
# Everything in here needs to work on linux or darwin
{
imports = [
../modules/shell.nix
@ -7,17 +9,23 @@
../modules/emacs.nix
../modules/vim.nix
../modules/tarsnap.nix
../modules/lib/cloneRepo.nix
];
nixpkgs.config.allowUnfree = true;
programs.password-store.enable = true;
impure.clonedRepos.passwordStore = {
grfn.impure.clonedRepos.passwordStore = {
github = "glittershark/pass";
path = ".local/share/password-store";
};
urbint.projectPath = "code/urb";
home.packages = with pkgs; [
# System utilities
bat
htop
killall
bind
@ -25,6 +33,7 @@
tree
ncat
# Security
gnupg
keybase
openssl

View file

@ -52,7 +52,7 @@ in {
package = pkgs.emacsUnstable;
};
impure.clonedRepos = {
grfn.impure.clonedRepos = {
orgClubhouse = {
github = "glittershark/org-clubhouse";
path = "code/org-clubhouse";

View file

@ -2,7 +2,7 @@
with lib;
{
options = {
impure.clonedRepos = mkOption {
grfn.impure.clonedRepos = mkOption {
description = "Repositories to clone";
default = {};
type = with types; loaOf (
@ -62,6 +62,6 @@ with lib;
popd
fi
'')
config.impure.clonedRepos;
config.grfn.impure.clonedRepos;
};
}