This repository has no description
0

Configure Feed

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

superconfig / machines / green / config.nix
1.8 kB 72 lines
1{ 2 config, 3 pkgs, 4 ... 5}: 6{ 7 clan.core.vars.password-store.secretLocation = "/var/state/secret-vars"; 8 9 imports = [ 10 ../../configs 11 ../../configs/retiolum.nix 12 13 ../../configs/syncthing.nix 14 15 ../../configs/weechat.nix 16 ../../configs/bitlbee.nix 17 18 ../../configs/pass.nix 19 20 ../../configs/et-server.nix 21 22 ../../configs/atuin-server.nix 23 ../../configs/autoupdate.nix 24 ]; 25 26 krebs.sync-containers3.inContainer = { 27 enable = true; 28 pubkey = config.clan.core.vars.generators.green-container.files."green.sync.pub".path; 29 }; 30 31 clan.core.vars.generators.green-container = { 32 files."green.sync.key" = { }; 33 files."green.sync.pub".secret = false; 34 runtimeInputs = with pkgs; [ 35 coreutils 36 openssh 37 ]; 38 script = '' 39 ssh-keygen -t ed25519 -N "" -f "$out"/green.sync.key 40 mv "$out"/green.sync.key.pub "$out"/green.sync.pub 41 ''; 42 }; 43 44 systemd.tmpfiles.rules = [ 45 "d /home/lass/.local/share 0700 lass users -" 46 "d /home/lass/.local 0700 lass users -" 47 "d /home/lass/.config 0700 lass users -" 48 49 "d /var/state/lass_ssh 0700 lass users -" 50 "L+ /home/lass/.ssh - - - - ../../var/state/lass_ssh" 51 "d /var/state/lass_gpg 0700 lass users -" 52 "L+ /home/lass/.gnupg - - - - ../../var/state/lass_gpg" 53 "d /var/state/lass_sync 0700 lass users -" 54 "L+ /home/lass/sync - - - - ../../var/state/lass_sync" 55 56 "d /var/state/git 0700 git nogroup -" 57 "L+ /var/lib/git - - - - ../../var/state/git" 58 59 "d /var/state/zerotier-one 0700 root root -" 60 "L+ /var/lib/zerotier-one - - - - ../../var/state/zerotier-one" 61 ]; 62 63 # workaround for ssh access from yubikey via android 64 services.openssh.extraConfig = '' 65 HostKeyAlgorithms +ssh-rsa 66 PubkeyAcceptedAlgorithms +ssh-rsa 67 ''; 68 69 environment.systemPackages = [ 70 pkgs.rbw 71 ]; 72}