add bootstrapping profile for py-poetry

top-level-wip
Hung 2023-01-20 14:58:02 -08:00
parent 7bddd37b48
commit 150534c512
2 changed files with 11 additions and 6 deletions

View File

@ -16,16 +16,16 @@
agenix.nixosModule
{
age.secrets.s3fs = {
file = ./secrets/s3fs.age;
file = ../../secrets/s3fs.age;
# mode = "600"; # owner + group only
# owner = "hungtr";
# group = "users";
};
age.secrets."s3fs.digital-garden" = {
file = ./secrets/s3fs.digital-garden.age;
file = ../../secrets/s3fs.digital-garden.age;
};
age.secrets._nhitrl_cred = {
file = ./secrets/_nhitrl.age;
file = ../../secrets/_nhitrl.age;
};
environment.systemPackages = [ agenix.defaultPackage.x86_64-linux ];
}

View File

@ -13,10 +13,15 @@
});
devShells = forAllSystems (system: {
bootstrap = pkgs.${system}.mkShellNoCC {
packages = [
pkgs.${system}.poetry
];
};
default = pkgs.${system}.mkShellNoCC {
packages = with pkgs.${system}; [
(poetry2nix.mkPoetryEnv { projectDir = self; })
poetry
packages = [
(pkgs.${system}.poetry2nix.mkPoetryEnv { projectDir = self; })
pkgs.${system}.poetry
];
};
});