chore: remove some unused modules

This commit is contained in:
Felix Schröter 2022-09-28 15:28:53 +02:00
parent 9965f73c74
commit e1094b2729
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 0 additions and 58 deletions

View file

@ -66,7 +66,6 @@ in {
neorg
];
extraConfig = with builtins;
# readFile ./vim-surround-fix.vim +
vimLua (lib.foldl (r: f: r + "\n" + readFile f) "" [
./init.lua
./alpha.lua

View file

@ -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

View file

@ -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 ];
})
];
}