Vic's *Nix config.
at main 514 B view raw
1{ vix, ... }: 2let 3 env-providers = with vix.vic.provides; [ 4 admin # vic is admin in all hosts 5 ({ user, ... }: vix.autologin user) 6 (_: vix.state-version) # for hm 7 fonts 8 browser 9 hm-backup 10 fish 11 terminals 12 cli-tui 13 editors # for normal people not btw'ing. 14 doom-btw 15 vim-btw 16 nix-btw 17 dots 18 ]; 19in 20{ 21 # for all hosts that include vic. 22 vix.vic._.common-host-env = 23 { host, user }: 24 { 25 includes = map (f: f { inherit host user; }) env-providers; 26 }; 27}