separate git into own mod
This commit is contained in:
parent
50d8c40057
commit
1168e46fb6
@ -9,6 +9,7 @@ toplevel@{ inputs, withSystem, config, ... }:
|
|||||||
in
|
in
|
||||||
with mods; [
|
with mods; [
|
||||||
base
|
base
|
||||||
|
ivand
|
||||||
shell
|
shell
|
||||||
util
|
util
|
||||||
swayland
|
swayland
|
||||||
|
@ -3,28 +3,7 @@ toplevel@{ moduleWithSystem, ... }: {
|
|||||||
base = moduleWithSystem (
|
base = moduleWithSystem (
|
||||||
top@{ ... }:
|
top@{ ... }:
|
||||||
perSystem@{ pkgs, config, ... }: {
|
perSystem@{ pkgs, config, ... }: {
|
||||||
programs = {
|
programs.home-manager.enable = true;
|
||||||
home-manager.enable = true;
|
|
||||||
password-store = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.pass.withExtensions (e: with e; [ pass-otp pass-file ]);
|
|
||||||
settings = { PASSWORD_STORE_DIR = "${config.home.homeDirectory}/.password-store"; };
|
|
||||||
};
|
|
||||||
git = {
|
|
||||||
enable = true;
|
|
||||||
delta.enable = true;
|
|
||||||
userName = pkgs.lib.mkDefault "Ivan Kirilov Dimitrov";
|
|
||||||
userEmail = pkgs.lib.mkDefault "ivan@idimitrov.dev";
|
|
||||||
signing = { signByDefault = true; key = "ivan@idimitrov.dev"; };
|
|
||||||
extraConfig = { color.ui = "auto"; pull.rebase = true; push.autoSetupRemote = true; };
|
|
||||||
aliases = { a = "add ."; c = "commit"; d = "diff --cached"; p = "push"; };
|
|
||||||
};
|
|
||||||
gpg.enable = true;
|
|
||||||
};
|
|
||||||
services = {
|
|
||||||
pueue.enable = true;
|
|
||||||
gpg-agent = { enable = true; enableBashIntegration = true; enableZshIntegration = true; enableNushellIntegration = true; pinentryPackage = pkgs.pinentry-qt; };
|
|
||||||
};
|
|
||||||
home = {
|
home = {
|
||||||
stateVersion = toplevel.config.flake.stateVersion;
|
stateVersion = toplevel.config.flake.stateVersion;
|
||||||
username = "ivand";
|
username = "ivand";
|
||||||
@ -65,6 +44,25 @@ toplevel@{ moduleWithSystem, ... }: {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
ivand = moduleWithSystem (
|
||||||
|
top@{ ... }:
|
||||||
|
perSystem@{ pkgs, config, ... }: {
|
||||||
|
programs = {
|
||||||
|
password-store = { enable = true; package = pkgs.pass.withExtensions (e: with e; [ pass-otp pass-file ]); settings = { PASSWORD_STORE_DIR = "${config.home.homeDirectory}/.password-store"; }; };
|
||||||
|
git = {
|
||||||
|
enable = true;
|
||||||
|
delta.enable = true;
|
||||||
|
userName = pkgs.lib.mkDefault "Ivan Kirilov Dimitrov";
|
||||||
|
userEmail = pkgs.lib.mkDefault "ivan@idimitrov.dev";
|
||||||
|
signing = { signByDefault = true; key = "ivan@idimitrov.dev"; };
|
||||||
|
extraConfig = { color.ui = "auto"; pull.rebase = true; push.autoSetupRemote = true; };
|
||||||
|
aliases = { a = "add ."; c = "commit"; d = "diff --cached"; p = "push"; };
|
||||||
|
};
|
||||||
|
gpg.enable = true;
|
||||||
|
};
|
||||||
|
services = { gpg-agent = { enable = true; enableBashIntegration = true; enableZshIntegration = true; enableNushellIntegration = true; pinentryPackage = pkgs.pinentry-qt; }; };
|
||||||
|
}
|
||||||
|
);
|
||||||
shell = moduleWithSystem (
|
shell = moduleWithSystem (
|
||||||
top@{ ... }:
|
top@{ ... }:
|
||||||
perSystem@{ pkgs, ... }: {
|
perSystem@{ pkgs, ... }: {
|
||||||
|
Loading…
Reference in New Issue
Block a user