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

View file

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

View file

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

View file

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

View file

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