This repository has no description
0

Configure Feed

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

syncthing: print pubkey only once into pubfile

+9 -4
+1 -1
nixos/2configs/syncthing.nix
··· 24 24 ${pkgs.syncthing}/bin/syncthing generate --config "$secrets" 25 25 mv "$secrets"/key.pem "$secrets"/syncthing.key 26 26 mv "$secrets"/cert.pem "$secrets"/syncthing.cert 27 - cat "$secrets"/config.xml | ${pkgs.gnugrep}/bin/grep -oP '(?<=<device id=")[^"]+' > "$facts"/syncthing.pub 27 + cat "$secrets"/config.xml | ${pkgs.gnugrep}/bin/grep -oP '(?<=<device id=")[^"]+' | uniq > "$facts"/syncthing.pub 28 28 ''; 29 29 }; 30 30
-2
machines/ignavia/facts/syncthing.pub
··· 1 1 NWYGIWH-M2HDGLM-32HL27Z-DGO3ALT-QVCWEET-P436GDZ-4ELEB67-7OE6XQ2 2 - NWYGIWH-M2HDGLM-32HL27Z-DGO3ALT-QVCWEET-P436GDZ-4ELEB67-7OE6XQ2 3 - NWYGIWH-M2HDGLM-32HL27Z-DGO3ALT-QVCWEET-P436GDZ-4ELEB67-7OE6XQ2
+8 -1
nixos/machines/ignavia/physical.nix
··· 8 8 ]; 9 9 10 10 networking.hostId = "deadbeef"; 11 - # boot.loader.efi.canTouchEfiVariables = true; 11 + 12 12 boot.loader.grub = { 13 13 enable = true; 14 14 device = "/dev/nvme0n1"; ··· 17 17 }; 18 18 19 19 hardware.opengl.enable = true; 20 + 21 + boot.initrd.availableKernelModules = [ 22 + "nvme" 23 + "thunderbolt" 24 + "xhci_pci" 25 + "usbhid" 26 + ]; 20 27 }