Various fixes

This commit is contained in:
Victor Mignot 2024-04-14 14:22:14 +02:00
parent 0137b1996f
commit 2709850f43
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ with lib;
let let
isQwerty = keymap == "us"; isQwerty = keymap == "us";
gnomeSchema = "org.gnome.desktop.interface"; gnomeSchema = "org.gnome.desktop.interface";
rendererLine = if nvidiaGPU then "export WLR_RENDERER=vulkan" else ""; rendererLine = "export WLR_RENDERER=vulkan";
monitorModule = types.submodule { monitorModule = types.submodule {
options = { options = {
name = mkOption { type = types.str; }; name = mkOption { type = types.str; };

View file

@ -1,5 +1,6 @@
{ lib, config, ... }: { lib, config, pkgs, ... }:
with lib; with lib;
{ {
programs.helix.settings = mkIf config.programs.helix.enable { theme = "nord"; }; programs.helix.settings = mkIf config.programs.helix.enable { theme = "nord"; };
home.sessionVariables."EDITOR" = "${pkgs.helix}/bin/hx";
} }

View file

@ -15,7 +15,6 @@ with lib;
''; '';
}; };
config.home.sessionVariables."EDITOR" = mkIf config.desktop.enableNeovim "${pkgs.neovim}/bin/nvim";
config.programs.neovim = mkIf config.desktop.enableNeovim { config.programs.neovim = mkIf config.desktop.enableNeovim {
enable = true; enable = true;