Initial commit
This commit is contained in:
22
modules/features/git.nix
Normal file
22
modules/features/git.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ inputs, lib, self, ... }: {
|
||||
flake.nixosModules.git = { pkgs, ... }: {
|
||||
imports = [
|
||||
self.nixosModules.gnupg
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config.user = {
|
||||
name = "Asdam9";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
flake.nixosModules.gnupg = { pkgs, ... }: {
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryPackage = pkgs.pinentry-rofi;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user