diff --git a/hosts/android/configuration.nix b/hosts/android/configuration.nix index 50fc81c..4c5b220 100644 --- a/hosts/android/configuration.nix +++ b/hosts/android/configuration.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, inputs, ... }: { # Simply install just the packages @@ -46,8 +46,10 @@ #time.timeZone = "Europe/Berlin"; home-manager = { + extraSpecialArgs = {inherit inputs;}; config = ./home.nix; backupFileExtension = "hm-bak"; useGlobalPkgs = true; + useUserPackages = true; }; } diff --git a/hosts/android/home.nix b/hosts/android/home.nix index bcd9a86..4aa3846 100644 --- a/hosts/android/home.nix +++ b/hosts/android/home.nix @@ -5,4 +5,7 @@ home.stateVersion = "24.05"; # insert home-manager config + imports = [ + ../../modules/home-manager/nixvim + ]; } diff --git a/modules/home-manager/nixvim/default.nix b/modules/home-manager/nixvim/default.nix index 6d925ab..3e44e08 100644 --- a/modules/home-manager/nixvim/default.nix +++ b/modules/home-manager/nixvim/default.nix @@ -370,33 +370,6 @@ lib, picker = "minipick"; }; }; - obsidian = { - enable = true; - settings = { - completion = { - min_chars = 1; - nvim_cmp = true; - }; - notes_subir = "notes"; - new_notes_location = "notes_subdir"; - templates = { - folder = "templates"; - }; - workspaces = [ - { - name = "personal"; - path = "~/vaults/personal"; - } - ]; - picker = { - name = "mini.pick"; - }; - daily_notes = { - folder = "dailies"; - default_tags = [ "type/daily" ]; - }; - }; - }; render-markdown = { enable = true; };