jackdbd / nix-config Goto Github PK
View Code? Open in Web Editor NEW❄️ NixOS and Home Manager configurations for my machines
License: MIT License
❄️ NixOS and Home Manager configurations for my machines
License: MIT License
Try creating a short README for every directory.
Trying to authenticate with GitHub and use the GitHub Pull Requests and Issues VS Code extension fails with this error:
The same thing occurs when trying to login and use GitHub Copilot.
This is what I see in the logs if I launch VS Code as described in this troubleshooting guide:
Create an Home Manager module that allows to configure ActivityWatch using Nix expressions instead of TOML files.
Where to store ActivityWatch categorization rules? I can export/import them as a JSON, but how to do it automatically.
Every time I reboot my laptop, a systemd service launches aw-qt
. aw-qt tries to start a few other ActivityWatch components (aw-server
, aw-watcher-afk
, aw-watcher-window
) but immediately fails because it can't find them.
Here is a log file showing that neither bundled modules, nor system modules can be found.
2023-12-19 13:49:13 [INFO ]: Started aw-qt... (aw_qt.main:53)
2023-12-19 13:49:13 [INFO ]: Found 0 bundled modules (aw_qt.manager:85)
2023-12-19 13:49:14 [INFO ]: Found 0 system modules (aw_qt.manager:119)
2023-12-19 13:49:14 [ERROR]: Module aw-server not found (aw_qt.manager:273)
2023-12-19 13:49:14 [ERROR]: Module aw-watcher-afk not found (aw_qt.manager:273)
2023-12-19 13:49:14 [ERROR]: Module aw-watcher-window not found (aw_qt.manager:273)
2023-12-19 13:49:14 [ERROR]: Manager tried to start nonexistent module aw-server (aw_qt.manager:265)
2023-12-19 13:49:14 [ERROR]: Manager tried to start nonexistent module aw-watcher-afk (aw_qt.manager:265)
2023-12-19 13:49:14 [ERROR]: Manager tried to start nonexistent module aw-watcher-window (aw_qt.manager:265)
2023-12-19 13:49:14 [INFO ]: Creating trayicon... (aw_qt.trayicon:206)
As soon as I switch my Home Manager configuration with this command...
home-manager switch \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--flake $HOME/repos/nix-config#$(whoami)@$(hostname)
...aw-qt is able to find 4 ActivityWatch system modules and from then on it runs without any issues.
2023-12-19 13:50:25 [INFO ]: Started aw-qt... (aw_qt.main:53)
2023-12-19 13:50:25 [INFO ]: Found 0 bundled modules (aw_qt.manager:85)
2023-12-19 13:50:25 [INFO ]: Found 4 system modules (aw_qt.manager:119)
2023-12-19 13:50:25 [INFO ]: Starting module aw-server (aw_qt.manager:148)
2023-12-19 13:50:25 [INFO ]: Starting module aw-watcher-window (aw_qt.manager:148)
2023-12-19 13:50:25 [INFO ]: Starting module aw-watcher-afk (aw_qt.manager:148)
2023-12-19 13:50:25 [INFO ]: Creating trayicon... (aw_qt.trayicon:206)
2023-12-19 13:50:26 [INFO ]: Initialized aw-qt and trayicon successfully (aw_qt.trayicon:262)
By looking at the default aw-qt configuration, it seems that it is launched with --autostart-modules=aw-server,aw-watcher-afk,aw-watcher-window
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.