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

@ -4,12 +4,16 @@ let
in {
imports = [
../platforms/linux.nix
../modules/common.nix
../modules/games.nix
../modules/rtlsdr.nix
~/code/urb/urbos/home
];
# for when hacking
programs.home-manager.path = "/home/grfn/code/home-manager";
system.machine = {
wirelessInterface = "wlp59s0";
i3FontSize = 9;
@ -36,4 +40,6 @@ in {
);
};
};
urbint.projectPath = "code/urb";
}

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;
};
}

View file

@ -14,10 +14,6 @@
../modules/shell.nix
../modules/tarsnap.nix
../modules/vim.nix
~/code/urb/urbos/home
machine
];
xsession.enable = true;
@ -61,10 +57,6 @@
playerctl
];
nixpkgs.config.allowUnfree = true;
programs.password-store.enable = true;
services.redshift = {
enable = true;
provider = "geoclue2";
@ -72,13 +64,6 @@
services.pasystray.enable = true;
impure.clonedRepos.passwordStore = {
github = "glittershark/pass";
path = ".local/share/password-store";
};
urbint.projectPath = "code/urb";
services.gpg-agent = {
enable = true;
};