From d659a2d6da6d8d9aa166a33a18025606434f136f Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Mon, 20 Jan 2025 10:59:33 +0100 Subject: some surf related changes --- profiles/core/home.nix | 1 + profiles/core/meta.nix | 2 +- profiles/core/neovim.nix | 34 +++++++--------------------------- profiles/graphical/suckless.nix | 1 + 4 files changed, 10 insertions(+), 28 deletions(-) (limited to 'profiles') diff --git a/profiles/core/home.nix b/profiles/core/home.nix index b80749e..c47a95d 100644 --- a/profiles/core/home.nix +++ b/profiles/core/home.nix @@ -15,6 +15,7 @@ with lib; { }; }; home.file.".config/ghostty".source = config.lib.meta.mkMutableSymlink /mut/ghostty; + home.file.".config/nushell".source = config.lib.meta.mkMutableSymlink /mut/nushell; xdg = { enable = true; mime.enable = !machine.isDarwin; diff --git a/profiles/core/meta.nix b/profiles/core/meta.nix index afd3e55..0cf0c1c 100644 --- a/profiles/core/meta.nix +++ b/profiles/core/meta.nix @@ -1,6 +1,6 @@ {inputs,lib,config, ...}: with lib; { lib.meta = { - configPath = "${config.my.home}/nix-config"; + configPath = "/nix-config"; mkMutableSymlink = path: config.hm.lib.file.mkOutOfStoreSymlink (config.lib.meta.configPath + removePrefix (toString inputs.self) (toString path)); diff --git a/profiles/core/neovim.nix b/profiles/core/neovim.nix index 2fbdd8b..dc3bc6e 100644 --- a/profiles/core/neovim.nix +++ b/profiles/core/neovim.nix @@ -4,12 +4,7 @@ ... }: { hm = { - xdg = { - configFile = with config.lib.meta; { - "nvim".source = mkMutableSymlink /mut/neovim; - }; - }; - + xdg.configFile."nvim".source = config.lib.meta.mkMutableSymlink /mut/neovim; editorconfig = { enable = true; settings = { @@ -45,52 +40,37 @@ plugins = with pkgs.vimPlugins; [ # highlighting nvim-treesitter.withAllGrammars - playground gruvbox-material kanagawa-nvim lsp_lines-nvim gitsigns-nvim vim-helm - lualine-nvim # external oil-nvim vim-fugitive - venn-nvim gv-vim zoxide-vim obsidian-nvim go-nvim - # Coding - fzf-lua - nvim-lspconfig - null-ls-nvim - lsp_signature-nvim + # Debug adapter nvim-dap nvim-dap-ui nvim-nio nvim-dap-python + + # editing + fzf-lua + nvim-lspconfig + lsp_signature-nvim luasnip - vim-test nvim-lint vim-surround conform-nvim trouble-nvim vim-easy-align nvim-comment - - blink-cmp - - # trying out lisp - conjure - vim-racket - nvim-parinfer - - # ai :( - # render-markdown-nvim - # avante-nvim - # nui-nvim ]; }; }; diff --git a/profiles/graphical/suckless.nix b/profiles/graphical/suckless.nix index 4cf4c3a..5a51ebb 100644 --- a/profiles/graphical/suckless.nix +++ b/profiles/graphical/suckless.nix @@ -90,6 +90,7 @@ with lib; # librewolf ungoogled-chromium xclip + xorg.xwininfo xdotool maim asciinema -- cgit v1.2.3