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
|
# Install base packages
|
||||||
aux.system.packages = with pkgs; [
|
aux.system.packages = with pkgs; [
|
||||||
fastfetch # Show a neat system statistics screen when opening a terminal
|
fastfetch # Show a neat system statistics screen when opening a terminal
|
||||||
git-crypt # Secrets management
|
|
||||||
htop # System monitor
|
htop # System monitor
|
||||||
zellij # Terminal multiplexer
|
zellij # Terminal multiplexer
|
||||||
];
|
];
|
||||||
|
|
|
@ -28,6 +28,7 @@ in
|
||||||
dconf
|
dconf
|
||||||
direnv
|
direnv
|
||||||
git
|
git
|
||||||
|
git-crypt # Secrets management
|
||||||
gnutar
|
gnutar
|
||||||
gzip
|
gzip
|
||||||
home-manager
|
home-manager
|
||||||
|
|
|
@ -50,7 +50,6 @@ in
|
||||||
# Configure home-manager
|
# Configure home-manager
|
||||||
home-manager.users.aires = {
|
home-manager.users.aires = {
|
||||||
imports = [
|
imports = [
|
||||||
../common/home-manager/git-crypt.nix
|
|
||||||
../common/home-manager/gnome.nix
|
../common/home-manager/gnome.nix
|
||||||
../common/home-manager/zsh.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 = {
|
home-manager.users.gremlin = {
|
||||||
imports = [
|
imports = [
|
||||||
../common/home-manager/git-crypt.nix
|
|
||||||
../common/home-manager/gnome.nix
|
../common/home-manager/gnome.nix
|
||||||
../common/home-manager/zsh.nix
|
../common/home-manager/zsh.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
{
|
{
|
||||||
# Give root user access to run remote builds
|
# Give root user access to run remote builds
|
||||||
home-manager.users.root = {
|
home-manager.users.root = {
|
||||||
imports = [ ../common/home-manager/git-crypt.nix ];
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
programs = {
|
programs = {
|
||||||
git.extraConfig = {
|
git.extraConfig = {
|
||||||
|
|
Loading…
Reference in a new issue