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 69 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/pass.nix 16 17 ../../configs/et-server.nix 18 19 ../../configs/atuin-server.nix 20 ../../configs/autoupdate.nix 21 ]; 22 23 lass.sync-containers3.inContainer = { 24 enable = true; 25 pubkey = config.clan.core.vars.generators.green-container.files."green.sync.pub".path; 26 }; 27 28 clan.core.vars.generators.green-container = { 29 files."green.sync.key" = { }; 30 files."green.sync.pub".secret = false; 31 runtimeInputs = with pkgs; [ 32 coreutils 33 openssh 34 ]; 35 script = '' 36 ssh-keygen -t ed25519 -N "" -f "$out"/green.sync.key 37 mv "$out"/green.sync.key.pub "$out"/green.sync.pub 38 ''; 39 }; 40 41 systemd.tmpfiles.rules = [ 42 "d /home/lass/.local/share 0700 lass users -" 43 "d /home/lass/.local 0700 lass users -" 44 "d /home/lass/.config 0700 lass users -" 45 46 "d /var/state/lass_ssh 0700 lass users -" 47 "L+ /home/lass/.ssh - - - - ../../var/state/lass_ssh" 48 "d /var/state/lass_gpg 0700 lass users -" 49 "L+ /home/lass/.gnupg - - - - ../../var/state/lass_gpg" 50 "d /var/state/lass_sync 0700 lass users -" 51 "L+ /home/lass/sync - - - - ../../var/state/lass_sync" 52 53 "d /var/state/git 0700 git nogroup -" 54 "L+ /var/lib/git - - - - ../../var/state/git" 55 56 "d /var/state/zerotier-one 0700 root root -" 57 "L+ /var/lib/zerotier-one - - - - ../../var/state/zerotier-one" 58 ]; 59 60 # workaround for ssh access from yubikey via android 61 services.openssh.extraConfig = '' 62 HostKeyAlgorithms +ssh-rsa 63 PubkeyAcceptedAlgorithms +ssh-rsa 64 ''; 65 66 environment.systemPackages = [ 67 pkgs.rbw 68 ]; 69}