From 8a4620c574dc63bbb011e5fe1917c50c99ce0d7c Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 16 Sep 2024 02:23:39 +0000 Subject: [PATCH] updates --- .gitignore | 1 + README.md | 15 +++++++++++++++ configuration.nix | 5 +---- shell.nix | 2 ++ 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..842a2db --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +git.nix \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..19308f1 --- /dev/null +++ b/README.md @@ -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"; + }; +} +``` \ No newline at end of file diff --git a/configuration.nix b/configuration.nix index 161bda4..b5cb08d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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}"; diff --git a/shell.nix b/shell.nix index 643291c..25093af 100644 --- a/shell.nix +++ b/shell.nix @@ -4,6 +4,8 @@ pkgs.mkShell { buildInputs = [ pkgs.python312 unstable.uv + unstable.python312Packages.ipykernel + unstable.python312Packages.rich # unstable.appdaemon ];