initial server work

This commit is contained in:
Bryan Ramos 2024-02-28 10:15:08 -05:00
parent 26e1521491
commit 036db0b3b9
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
53 changed files with 228 additions and 11 deletions

View file

@ -0,0 +1,23 @@
{ lib, pkgs, config, ... }:
with lib;
let cfg = config.modules.git;
in
{ options.modules.git = { enable = mkEnableOption "git"; };
config = mkIf cfg.enable {
programs = {
git = {
enable = true;
} // config.user.gitConfig;
gh = {
enable = true;
settings.git_protocol = "ssh";
};
};
home.packages = with pkgs; [
git-crypt
];
};
}