modularise config

This commit is contained in:
Felix Schröter 2019-10-19 12:55:35 +02:00
parent ae44502f36
commit 79bba316c2
No known key found for this signature in database
GPG key ID: A12D7C9D2FD34458
28 changed files with 407 additions and 432 deletions

18
home/common/sh.nix Normal file
View file

@ -0,0 +1,18 @@
{ config, pkgs, ... }:
let
shellAliases = {
emacs = "emacsclient -c";
};
in
{
programs.fish = {
enable = true;
inherit shellAliases;
};
programs.bash = {
enable = true;
inherit shellAliases;
};
}