From d845c2f4bd64c535f28837b247ab939a540f5867 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Tue, 10 Sep 2024 09:21:48 +0300 Subject: [PATCH] feat: nvim as default editor on laptop and desktop --- systems/profiles/desktop/default.nix | 2 ++ systems/profiles/desktop/desktop.nix | 3 +++ systems/profiles/laptop/laptop.nix | 1 + 3 files changed, 6 insertions(+) create mode 100644 systems/profiles/desktop/desktop.nix diff --git a/systems/profiles/desktop/default.nix b/systems/profiles/desktop/default.nix index edc9c74..0d82f01 100644 --- a/systems/profiles/desktop/default.nix +++ b/systems/profiles/desktop/default.nix @@ -13,6 +13,8 @@ inputs @ { ../../../modules ../../../roles + + ./desktop.nix ]; specialArgs = { inherit inputs; diff --git a/systems/profiles/desktop/desktop.nix b/systems/profiles/desktop/desktop.nix new file mode 100644 index 0000000..f31288e --- /dev/null +++ b/systems/profiles/desktop/desktop.nix @@ -0,0 +1,3 @@ +{ + environment.variables.EDITOR = "nvim"; +} diff --git a/systems/profiles/laptop/laptop.nix b/systems/profiles/laptop/laptop.nix index f2e328d..d308d75 100644 --- a/systems/profiles/laptop/laptop.nix +++ b/systems/profiles/laptop/laptop.nix @@ -1,3 +1,4 @@ { + environment.variables.EDITOR = "nvim"; programs.light.enable = true; } -- 2.44.1