This commit is contained in:
John Lancaster
2024-09-16 02:23:39 +00:00
parent 219120983b
commit 8a4620c574
4 changed files with 19 additions and 4 deletions
+1
View File
@@ -0,0 +1 @@
git.nix
+15
View File
@@ -0,0 +1,15 @@
NixOS Configuration for AppDaemon Development
Needs a `git.nix` file. Example below:
```shell
{ ... }:
{
programs.git = {
enable = true;
extraConfig.credential.helper = "store --file ~/.git-credentials";
userName = "John Lancaster";
userEmail = "32917998+jsl12@users.noreply.github.com";
};
}
```
+1 -4
View File
@@ -65,12 +65,9 @@ in
useGlobalPkgs = true;
users.appdaemon = { pkgs, ... }: {
home.stateVersion = stateVersion;
home.packages = [
unstable.uv
];
imports = [ ./git.nix ];
programs = {
ssh.enable = true;
git.extraConfig.credential.helper = "store --file ~/.git-credentials";
bash = {
enable = true;
profileExtra = "cd ${adPath}";
+2
View File
@@ -4,6 +4,8 @@ pkgs.mkShell {
buildInputs = [
pkgs.python312
unstable.uv
unstable.python312Packages.ipykernel
unstable.python312Packages.rich
# unstable.appdaemon
];