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:
3 files changed
+10
-29
No files matched your search
+4
-1
@@ -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
@@ -3,11 +3,16 @@
|
||||
{
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards = {
|
||||
default = {
|
||||
ids = [ "*" ];
|
||||
settings = {
|
||||
main = {
|
||||
# Replace Copilot Key
|
||||
# Fix Right Control Key
|
||||
"leftshift+leftmeta+f23" = "rightcontrol";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user