Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Set up signed pushes

+27 -2
+1 -1
home/base/gpg.nix
··· 44 }) 45 (helpers.mkIfLinux { 46 package = pkgs.pinentry-all; 47 - program = "pinentry-qt"; 48 }) 49 ]; 50 };
··· 44 }) 45 (helpers.mkIfLinux { 46 package = pkgs.pinentry-all; 47 + program = "pinentry"; 48 }) 49 ]; 50 };
modules/server/encrypt/gitconfig.age

This is a binary file and will not be displayed.

+25 -1
modules/server/tangled.nix
··· 1 - { lib, config, hostname, helpers, ... }: 2 3 with lib; 4 let ··· 33 listenAddr = "127.0.0.1:5555"; 34 owner = cfg.tangled.owner; 35 }; 36 }; 37 }; 38 }
··· 1 + { lib, config, hostname, helpers, pkgs, ... }: 2 3 with lib; 4 let ··· 33 listenAddr = "127.0.0.1:5555"; 34 owner = cfg.tangled.owner; 35 }; 36 + }; 37 + 38 + programs.git = { 39 + enable = true; 40 + config = { 41 + gpg.program = "${pkgs.gnupg}/bin/gpg"; 42 + receive = { 43 + advertisePushOptions = true; 44 + denyFastForwards = false; 45 + fsckObjects = true; 46 + autogc = true; 47 + }; 48 + 49 + include.path = "/etc/gitconfig.private"; 50 + }; 51 + }; 52 + 53 + age.secrets."gitconfig.private" = { 54 + symlink = false; 55 + path = "/etc/gitconfig.private"; 56 + file = ./encrypt/gitconfig.age; 57 + owner = cfg.tangled.owner; 58 + group = cfg.tangled.owner; 59 + mode = "0444"; 60 }; 61 }; 62 }
+1
secrets.nix
··· 9 "./modules/server/encrypt/tailscale.age".publicKeys = keys; 10 "./modules/server/encrypt/rclone.conf.age".publicKeys = keys; 11 "./modules/server/encrypt/tangled-knot-ssh.age".publicKeys = keys; 12 13 "./home/fonts/encrypt/DankMono-Regular.otf.age".publicKeys = keys; 14 "./home/fonts/encrypt/DankMono-Bold.otf.age".publicKeys = keys;
··· 9 "./modules/server/encrypt/tailscale.age".publicKeys = keys; 10 "./modules/server/encrypt/rclone.conf.age".publicKeys = keys; 11 "./modules/server/encrypt/tangled-knot-ssh.age".publicKeys = keys; 12 + "./modules/server/encrypt/gitconfig.age".publicKeys = keys; 13 14 "./home/fonts/encrypt/DankMono-Regular.otf.age".publicKeys = keys; 15 "./home/fonts/encrypt/DankMono-Bold.otf.age".publicKeys = keys;