fix neovide by installing w/ nix
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
|
||||
# base system package install list
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovide
|
||||
];
|
||||
|
||||
nix-homebrew = {
|
||||
|
||||
@@ -4,13 +4,15 @@
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
program = "nvf";
|
||||
cfg = config.dots.${program};
|
||||
isLinux = pkgs.stdenv.isLinux;
|
||||
isDarwin = pkgs.stdenv.isDarwin;
|
||||
#sec = sops.secrets;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.dots.${program} = {
|
||||
enable = lib.mkEnableOption "enables ${program}";
|
||||
};
|
||||
@@ -26,12 +28,14 @@ in {
|
||||
vim = {
|
||||
clipboard =
|
||||
# On Linux, use wl-copy as you do now
|
||||
if isLinux then {
|
||||
if isLinux then
|
||||
{
|
||||
enable = true;
|
||||
providers.wl-copy.enable = true;
|
||||
registers = "unnamed,unnamedplus";
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
enable = true;
|
||||
registers = "unnamed,unnamedplus";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user