chore: remove some unused modules
This commit is contained in:
parent
9965f73c74
commit
e1094b2729
|
@ -66,7 +66,6 @@ in {
|
||||||
neorg
|
neorg
|
||||||
];
|
];
|
||||||
extraConfig = with builtins;
|
extraConfig = with builtins;
|
||||||
# readFile ./vim-surround-fix.vim +
|
|
||||||
vimLua (lib.foldl (r: f: r + "\n" + readFile f) "" [
|
vimLua (lib.foldl (r: f: r + "\n" + readFile f) "" [
|
||||||
./init.lua
|
./init.lua
|
||||||
./alpha.lua
|
./alpha.lua
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
" fix for timeout issue with vim-surround in neovim
|
|
||||||
" but it also breaks yss
|
|
||||||
" https://github.com/tpope/vim-surround/issues/272
|
|
||||||
|
|
||||||
let g:surround_no_mappings = 1
|
|
||||||
|
|
||||||
function! SurroundOp(char)
|
|
||||||
if v:operator ==# 'd'
|
|
||||||
return "\<plug>D" . a:char . "urround"
|
|
||||||
elseif v:operator ==# 'c'
|
|
||||||
return "\<plug>C" . a:char . "urround"
|
|
||||||
elseif v:operator ==# 'y'
|
|
||||||
return "\<plug>Y" . a:char . "urround"
|
|
||||||
endif
|
|
||||||
return ''
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
omap <expr> s '<esc>'.SurroundOp('s')
|
|
||||||
omap <expr> S '<esc>'.SurroundOp('S')
|
|
||||||
|
|
||||||
imap <C-S> <Plug>Isurround
|
|
||||||
imap <C-G>s <Plug>Isurround
|
|
||||||
imap <C-G>S <Plug>ISurround
|
|
|
@ -1,34 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.xserver.enable = true;
|
|
||||||
services.xserver.desktopManager.kodi.enable = true;
|
|
||||||
services.xserver.desktopManager.kodi.package =
|
|
||||||
pkgs.kodi.withPackages (p: with p; [ jellyfin netflix youtube ]);
|
|
||||||
|
|
||||||
services.xserver.displayManager.lightdm.enable = true;
|
|
||||||
services.xserver.displayManager.autoLogin.enable = true;
|
|
||||||
services.xserver.displayManager.autoLogin.user = "kodi";
|
|
||||||
|
|
||||||
users.extraUsers.kodi = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [ "video" "input" "audio" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# TODO doesn't seem to work
|
|
||||||
# services.cage.enable = true;
|
|
||||||
# services.cage.user = "kodi";
|
|
||||||
# services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone";
|
|
||||||
|
|
||||||
networking.firewall = {
|
|
||||||
allowedTCPPorts = [ 8080 ];
|
|
||||||
allowedUDPPorts = [ 8080 ];
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = [
|
|
||||||
(pkgs.kodi.override {
|
|
||||||
plugins = with pkgs.kodiPlugins;
|
|
||||||
[ pkgs.nur.repos.marzipankaiser.kodiPlugins.netflix ];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
Reference in a new issue