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
+10 -29

No files matched your search

+4 -1
View File
@@ -3,7 +3,6 @@
{
imports = [
./modules/keyd.nix
./modules/vim.nix
./modules/display.nix
./modules/sound.nix
./modules/hyprland.nix
@@ -43,6 +42,10 @@
];
};
# Set the vim as the default editor
environment.variables.EDITOR = "vim";
environment.variables.VISUAL = "vim";
# Set sops-age key file path
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
+6 -1
View File
@@ -3,11 +3,16 @@
{
services.keyd = {
enable = true;
keyboards = {
default = {
ids = [ "*" ];
settings = {
main = {
# Replace Copilot Key
# 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
'';
};
}