modularise config
This commit is contained in:
parent
ae44502f36
commit
79bba316c2
28 changed files with 407 additions and 432 deletions
18
home/common/sh.nix
Normal file
18
home/common/sh.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue