Secrets: fix git-crypt by adding it to core packages
This commit is contained in:
parent
e59a0c1735
commit
befaec44d6
|
@ -12,7 +12,6 @@
|
|||
# Install base packages
|
||||
aux.system.packages = with pkgs; [
|
||||
fastfetch # Show a neat system statistics screen when opening a terminal
|
||||
git-crypt # Secrets management
|
||||
htop # System monitor
|
||||
zellij # Terminal multiplexer
|
||||
];
|
||||
|
|
|
@ -28,6 +28,7 @@ in
|
|||
dconf
|
||||
direnv
|
||||
git
|
||||
git-crypt # Secrets management
|
||||
gnutar
|
||||
gzip
|
||||
home-manager
|
||||
|
|
|
@ -50,7 +50,6 @@ in
|
|||
# Configure home-manager
|
||||
home-manager.users.aires = {
|
||||
imports = [
|
||||
../common/home-manager/git-crypt.nix
|
||||
../common/home-manager/gnome.nix
|
||||
../common/home-manager/zsh.nix
|
||||
];
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
# Configure Git to support git-crypt
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
extraConfig = {
|
||||
filter."git-crypt" = {
|
||||
required = true;
|
||||
smudge = "/run/current-system/sw/bin/git-crypt smudge";
|
||||
clean = "/run/current-system/sw/bin/git-crypt clean";
|
||||
};
|
||||
diff."git-crypt" = {
|
||||
textconv = "/run/current-system/sw/bin/git-crypt diff";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -51,7 +51,6 @@ in
|
|||
|
||||
home-manager.users.gremlin = {
|
||||
imports = [
|
||||
../common/home-manager/git-crypt.nix
|
||||
../common/home-manager/gnome.nix
|
||||
../common/home-manager/zsh.nix
|
||||
];
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{
|
||||
# Give root user access to run remote builds
|
||||
home-manager.users.root = {
|
||||
imports = [ ../common/home-manager/git-crypt.nix ];
|
||||
home.stateVersion = "24.05";
|
||||
programs = {
|
||||
git.extraConfig = {
|
||||
|
|
Loading…
Reference in a new issue