add bootstrapping profile for py-poetry
parent
7bddd37b48
commit
150534c512
|
@ -16,16 +16,16 @@
|
||||||
agenix.nixosModule
|
agenix.nixosModule
|
||||||
{
|
{
|
||||||
age.secrets.s3fs = {
|
age.secrets.s3fs = {
|
||||||
file = ./secrets/s3fs.age;
|
file = ../../secrets/s3fs.age;
|
||||||
# mode = "600"; # owner + group only
|
# mode = "600"; # owner + group only
|
||||||
# owner = "hungtr";
|
# owner = "hungtr";
|
||||||
# group = "users";
|
# group = "users";
|
||||||
};
|
};
|
||||||
age.secrets."s3fs.digital-garden" = {
|
age.secrets."s3fs.digital-garden" = {
|
||||||
file = ./secrets/s3fs.digital-garden.age;
|
file = ../../secrets/s3fs.digital-garden.age;
|
||||||
};
|
};
|
||||||
age.secrets._nhitrl_cred = {
|
age.secrets._nhitrl_cred = {
|
||||||
file = ./secrets/_nhitrl.age;
|
file = ../../secrets/_nhitrl.age;
|
||||||
};
|
};
|
||||||
environment.systemPackages = [ agenix.defaultPackage.x86_64-linux ];
|
environment.systemPackages = [ agenix.defaultPackage.x86_64-linux ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,10 +13,15 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
devShells = forAllSystems (system: {
|
devShells = forAllSystems (system: {
|
||||||
|
bootstrap = pkgs.${system}.mkShellNoCC {
|
||||||
|
packages = [
|
||||||
|
pkgs.${system}.poetry
|
||||||
|
];
|
||||||
|
};
|
||||||
default = pkgs.${system}.mkShellNoCC {
|
default = pkgs.${system}.mkShellNoCC {
|
||||||
packages = with pkgs.${system}; [
|
packages = [
|
||||||
(poetry2nix.mkPoetryEnv { projectDir = self; })
|
(pkgs.${system}.poetry2nix.mkPoetryEnv { projectDir = self; })
|
||||||
poetry
|
pkgs.${system}.poetry
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue