I’m starting with Home Manager and would like to use plasma module but I can’t find any examples on how to add custom modules into home-manager through adding them directly from git. The author provides a flake example but I’m still learning Nix and trying to minimize the amount of things I need to learn hence not embracing flakes yet.
My current home manager config is minimalistic as in the below and is simply imported into configuration.nix.
How can I add plasma module to it?
I get the following error which means nothing to me!
error: attribute ‘hm’ missing
at /nix/store/p5v25rcwc1jxwyprgc5rck3y6x755i68-source/modules/files.nix:55:40:
54| config = lib.mkIf (builtins.length (builtins.attrNames cfg) > 0) {
55| home.activation.configure-plasma = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
| ^
56| $DRY_RUN_CMD ${script}
Did you mean one of id or or?
Regarding flakes - I found the basics were OK so I could get something to work. As you do more, I found that there is becoming more info and examples with flakes. I have been using flakes for a few months now and I feel that is easier to progress. I also use the unstable branch, which seems more robust to me than 22.1 did, and any issues often get fixed more quickly due to the rolling approach.