Fixed the keyd thing to work with the later nix revisions and deleted vim.nix because it didn't work either way

This commit is contained in:
metallaxis committed 2026-11-04 13:12:49 +02:00
1 parent b352baa645
commit 0f4feabf1d
3 files changed
+13 -32

No files matched your search

+9 -4
View File
@@ -3,10 +3,15 @@
{
services.keyd = {
enable = true;
settings = {
main = {
# Replace Copilot Key
"leftshift+leftmeta+f23" = "rightcontrol";
keyboards = {
default = {
ids = [ "*" ];
settings = {
main = {
# Fix Right Control Key
"leftshift+leftmeta+f23" = "rightcontrol";
};
};
};
};
};
-27
View File
@@ -1,27 +0,0 @@
{ config, pkgs, ... }:
{
programs.vim = {
defaultEditor = true;
customRC = ''
" Enable line numbers
set number
set relativenumber
" Indentation rules
set tabstop=4
set shiftwidth=4
set expandtab
" Better searching
set hlsearch
set incsearch
set ignorecase
set smartcase
" Enable syntax highlighting and mouse support
syntax on
set mouse=a
'';
};
}