diff --git a/users/simon/files/ankisyncd/__init__.py b/users/simon/modules/anki/ankisyncd-plugin.py similarity index 100% rename from users/simon/files/ankisyncd/__init__.py rename to users/simon/modules/anki/ankisyncd-plugin.py diff --git a/users/simon/modules/anki.nix b/users/simon/modules/anki/default.nix similarity index 81% rename from users/simon/modules/anki.nix rename to users/simon/modules/anki/default.nix index 02642e2..b8a5ab4 100644 --- a/users/simon/modules/anki.nix +++ b/users/simon/modules/anki/default.nix @@ -5,5 +5,5 @@ lib.mkIf nixosConfig.sbruder.gui.enable { pkgs.anki ]; - home.file.".local/share/Anki2/addons21/ankisyncd/__init__.py".source = ../files/ankisyncd/__init__.py; + home.file.".local/share/Anki2/addons21/ankisyncd/__init__.py".source = ./ankisyncd-plugin.py; } diff --git a/users/simon/modules/default.nix b/users/simon/modules/default.nix index 8aadd4b..849113d 100644 --- a/users/simon/modules/default.nix +++ b/users/simon/modules/default.nix @@ -1,7 +1,7 @@ { imports = [ ./alacritty.nix - ./anki.nix + ./anki ./games.nix ./git.nix ./gpg.nix