diff --git a/common/default.nix b/common/default.nix index 09f265b..05e46e2 100644 --- a/common/default.nix +++ b/common/default.nix @@ -6,4 +6,13 @@ ... }: { #nixpkgs.config.permittedInsecurePackages = ["electron-25.9.0" "electron-24.8.6"]; + nix.settings = { + trusted-users = [ "xqtc" ]; + substituters = [ + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; } diff --git a/home/modules/nixvim.nix b/home/modules/nixvim.nix index 6c25d6a..33bde09 100644 --- a/home/modules/nixvim.nix +++ b/home/modules/nixvim.nix @@ -23,6 +23,9 @@ colorschemes.catppuccin.enable = true; plugins = { + comment-nvim = { + enable = true; + }; indent-blankline.enable = true; lualine.enable = true; lsp-format = {enable = true;}; @@ -331,6 +334,16 @@ key = "Y"; action = ''[["+Y]]''; } + { + mode = ["n"]; + key = "sr"; + action = '' + function() + vim.lsp.buf.rename() + end + ''; + lua = true; + } ]; }; } diff --git a/hosts/x86_64-linux/asmodeus/default.nix b/hosts/x86_64-linux/asmodeus/default.nix index 16ad23f..03533cb 100644 --- a/hosts/x86_64-linux/asmodeus/default.nix +++ b/hosts/x86_64-linux/asmodeus/default.nix @@ -43,7 +43,7 @@ nixpkgs.config.allowUnfree = true; - boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + boot.binfmt.emulatedSystems = ["aarch64-linux"]; hardware.opengl = { enable = true;