Add git-crypt and fix clrf line endings

main
Carsten Kragelund 2023-04-27 11:27:48 +02:00
parent 74c96df3f6
commit ecc3e77419
Signed by: nyx
GPG Key ID: CADDADEEC9F753C0
5 changed files with 33 additions and 27 deletions

@ -0,0 +1,4 @@
# Do not edit this file. To specify the files to encrypt, create your own
# .gitattributes file in the directory where your files are.
* !filter !diff
*.gpg binary

1
.gitattributes vendored

@ -1 +1,2 @@
*.png filter=lfs diff=lfs merge=lfs -text
*.enc filter=git-crypt diff=git-crypt

@ -1,14 +1,15 @@
{ pkgs, ... }:
{
imports = [ ];
environment.systemPackages = with pkgs; [
git
git-lfs
gnupg
home-manager
ntfsprogs
wget
];
}
{ pkgs, ... }:
{
imports = [ ];
environment.systemPackages = with pkgs; [
git
git-lfs
git-crypt
gnupg
home-manager
ntfsprogs
wget
];
}

@ -1,7 +1,7 @@
{ ...} : {
imports = [
./gitea.nix
./postgres.nix
./sshd.nix
];
}
{ ...} : {
imports = [
./gitea.nix
./postgres.nix
./sshd.nix
];
}

@ -1,6 +1,6 @@
{ ... }: {
services.openssh = {
enable = true;
permitRootLogin = "yes";
};
}
{ ... }: {
services.openssh = {
enable = true;
permitRootLogin = "yes";
};
}