Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
if [ -f shell.nix ]; then
use nix
else
echo "Setting venv"
echo "{
\"venvPath\": \"$(which python)/bin\",
\"include\": [\".\"]
}" > pyrightconfig.json

fi
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ View config to get list of icons you need to download.
# TODO
- [] nutrition
- [] ActualBudget - spend per day

1 change: 0 additions & 1 deletion dnull_mqtt/apps/notion.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def _get_todays_todo(self):
log.error(item)
continue

log.info(todays_todo)
return todays_todo

def _set_scroll_speed(self, text: str):
Expand Down
32 changes: 32 additions & 0 deletions shell.nix~
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ pkgs ? import <nixpkgs> {} }:

let
python = pkgs.python310;
nodejs = pkgs.nodejs-18_x;
gcc = pkgs.gcc13; # Add this line to include GCC 12.1
in
pkgs.mkShell {
buildInputs = [
pkgs.git
pkgs.curl
pkgs.lunarvim
pkgs.clang-tools
pkgs.fzf
pkgs.ripgrep
pkgs.tree-sitter
# require 'nvim-treesitter.install'.compilers = { 'clang++'}
# pkgs.clang_12
# pkgs.clangStdenv
# pkgs.clangMultiStdenv
python
nodejs
gcc
];

shellHook = ''
echo "{
\"venvPath\": \"${python}/bin\",
\"include\": [\".\"]
}" > pyrightconfig.json
'';
}