From 03486e3312dc7bc5fe67d198ab551d0bd105b243 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Mon, 6 Jan 2025 20:41:21 +0100 Subject: [PATCH] small fix --- nixos/hosts/android/default.nix | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/android/default.nix b/nixos/hosts/android/default.nix index 3784227..cbe9384 100644 --- a/nixos/hosts/android/default.nix +++ b/nixos/hosts/android/default.nix @@ -1,10 +1,30 @@ -{ pkgs, ... }: - +{ pkgs, inputs, ... }: { + imports = [ + inputs.nixvim.nixosModules.nixvim + ]; + programs.nixvim = { + enable = true; + defaultEditor = true; + + colorschemes.catppuccin.enable = true; + plugins = { + lualine.enable = true; + }; + + opts = { + number = true; + shiftwidth = 4; + }; + }; environment.packages = with pkgs;[ neovim git fastfetch + + (pkgs.writeShellScriptBin "droid-switch" '' + nix-on-droid switch --flake /data/data/com.termux.nix/files/home/nixos-config + '') ]; home-manager = {