From bf594827b047aa77927ebd4c07620f34e5bbda67 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 12 Dec 2023 12:38:55 +0100 Subject: [PATCH 1/2] Add guess-indent nvim plugin --- configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configuration.nix b/configuration.nix index a01e316..f9f0c62 100644 --- a/configuration.nix +++ b/configuration.nix @@ -99,6 +99,11 @@ set listchars=space:·,tab:┄┄» set indentkeys-=0# ''; + packages.myVimPackage = with pkgs.vimPlugins; { + start = [ + guess-indent-nvim + ]; + }; }; }; From 8d1cc559f96025ec2273b890c11da49d3d25ef29 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 12 Dec 2023 12:39:29 +0100 Subject: [PATCH 2/2] Add nixos-rebuild helper script this scripts sets the NIXOS_CONFIG to the one in the project --- nixos-rebuild.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 nixos-rebuild.sh diff --git a/nixos-rebuild.sh b/nixos-rebuild.sh new file mode 100755 index 0000000..997a6d2 --- /dev/null +++ b/nixos-rebuild.sh @@ -0,0 +1,2 @@ +NIXOS_CONFIG="$(pwd)/configuration.nix" +nixos-rebuild $@