init: public
This commit is contained in:
29
modules/coding/misc.nix
Normal file
29
modules/coding/misc.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.my.makeSwitch {
|
||||
inherit config;
|
||||
optionName = "misc";
|
||||
optionPath = [
|
||||
"coding"
|
||||
"misc"
|
||||
];
|
||||
config' = {
|
||||
my.home = {
|
||||
home.packages = with pkgs; [
|
||||
gnumake
|
||||
github-cli # gh
|
||||
];
|
||||
programs.zsh.initExtraFirst = ''
|
||||
source ${./github-cli-comp}
|
||||
'';
|
||||
programs.direnv.enable = true;
|
||||
};
|
||||
my.persist.homeDirs = [
|
||||
".local/share/direnv"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user