diff --git a/machines/asus/python/default.nix b/machines/asus/python/default.nix index f375b25..59268d8 100644 --- a/machines/asus/python/default.nix +++ b/machines/asus/python/default.nix @@ -1,10 +1,19 @@ -{ pkgs, systemPackages, ... }: +{ lib, pkgs, systemPackages, homeConfiguration, ... }: lib.recursiveUpdate -with pkgs; systemPackages [ +(with pkgs; systemPackages [ (python311.withPackages (pkgs: with pkgs; [ pip requests ])) virtualenv poetry -] +]) + +(homeConfiguration "nixos" { + programs.nushell.envFile.source = '' + def venv [] { + virtualenv venv + source ./venv/bin/activate.nu + } + ''; +})