kdeconnect

This commit is contained in:
2025-11-03 13:47:02 +01:00
parent d3c2cd9d70
commit 2b8f60cf1e
4 changed files with 37 additions and 5 deletions

View File

@@ -5,6 +5,10 @@
...
}:
{
home.packages = with pkgs; [
kdePackages.xdg-desktop-portal-kde
kdePackages.kdeconnect-kde
];
services.kdeconnect = {
enable = true;
indicator = true;

View File

@@ -1,5 +1,8 @@
{ pkgs, ... }:
{
programs.neovim = {
enable = true;
viAlias = true;
@@ -7,24 +10,34 @@
defaultEditor = true;
withPython3 = true;
withNodeJs = true;
extraConfig = ''
set backspace=indent,eol,start
syntax on
set tabstop=2 softtabstop=0 autoindent expandtab shiftwidth=2 smarttab
" Wildmenu for command-line completion
set wildmenu
set wildmode=longest:full,full " Example wildmode setting
" Use <Tab> completion instead of ctrl n and ctrl p
inoremap <expr> <Tab> pumvisible() ? "\<C-y>" : "\<Tab>"
inoremap <expr> <S-Tab> "\<Tab>"
'';
set clipboard=unnamed,unnamedplus
set mouse=a
'';
extraLuaConfig = ''
vim.wo.number = true
-- vim.wo.relativenumber = true
vim.api.nvim_set_option("clipboard", "unnamedplus")
'';
extraPackages = [ pkgs.fzf ]; # For fzf-vim functionality
plugins = with pkgs.vimPlugins; [
@@ -36,10 +49,9 @@
typst-vim
typst-preview-nvim
aider-nvim
#magma-nvim#jupyter
#molten-nvim #jupyter
];
# CoC configuration (replacing coc-rust-analyzer plugin)
coc.enable = true;
coc.settings = {

View File

@@ -34,6 +34,7 @@
../../modules/jupyterhub.nix
../../modules/blog.nix
../../modules/ollama.nix
../../modules/kdeconnect.nix
../../modules/desktopApplications.nix
];

15
modules/kdeconnect.nix Normal file
View File

@@ -0,0 +1,15 @@
{
pkgs,
lib,
config,
...
}:
{
environment.systemPackages = with pkgs; [
kdePackages.xdg-desktop-portal-kde
kdePackages.kdeconnect-kde
];
programs.kdeconnect = {
enable = true;
};
}