diff --git a/hosts/pro.nix b/hosts/pro.nix index 67cde0b..e759c47 100644 --- a/hosts/pro.nix +++ b/hosts/pro.nix @@ -69,20 +69,14 @@ ../modules/logseq.nix ../modules/macos-defaults.nix ../modules/history.nix # iCloud-backed; this account only - ( - { pkgs, ... }: - { - home.packages = [ - pkgs.lima - pkgs.rtl_433 - ]; # runs the VMs; radio tinkering - my.limaVms = [ "nixden" ]; # aliased in ssh config; declared in vms below - my.logseqGraphs = [ - "Notes/mostlyobvious" - "Notes/hraba.gs" - ]; - } - ) + ../modules/lima.nix + { + my.limaVms = [ "nixden" ]; # aliased in ssh config; declared in vms below + my.logseqGraphs = [ + "Notes/mostlyobvious" + "Notes/hraba.gs" + ]; + } ]; }; diff --git a/modules/lima.nix b/modules/lima.nix new file mode 100644 index 0000000..07a066d --- /dev/null +++ b/modules/lima.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: + +{ + # Runs the VMs declared by the host file; their SSH aliases come from + # my.limaVms (see ssh.nix). + home.packages = [ pkgs.lima ]; +}