Misc minor changes

This commit is contained in:
Alex Davies 2024-05-31 09:53:35 -03:00
parent fae95bef71
commit 1baab2c82e
5 changed files with 50 additions and 44 deletions

View File

@ -75,47 +75,47 @@
};
};
programs.nixvim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
plugins.bufferline.enable = true;
plugins.which-key.enable = true;
plugins.cmp-tabby = {
enable = true;
host = "localhost:8337";
};
globals.mapleader = " ";
keymaps = [
{
mode = "n";
key = "<C-a>c";
options = { noremap = true; desc = "Open new terminal"; };
action = "<cmd>:term<cr>";
}
{
mode = "n";
key = "<C-a>x";
options = { noremap = true; desc = "Close tab"; };
action = "<cmd>:bd<cr>";
}
{
mode = "n";
key = "<C-a>s";
options = { noremap = true; desc = "Pick buffer"; };
action = "<cmd>:BufferLinePick<CR>";
}
{
mode = "t";
key = "<Esc><Esc>";
options = { noremap = true; };
action = "<C-\\><C-n>";
}
];
};
# programs.nixvim = {
# enable = true;
# defaultEditor = true;
# viAlias = true;
# vimAlias = true;
# plugins.bufferline.enable = true;
# plugins.which-key.enable = true;
# plugins.cmp-tabby = {
# enable = true;
# host = "localhost:8337";
# };
#
# globals.mapleader = " ";
# keymaps = [
# {
# mode = "n";
# key = "<C-a>c";
# options = { noremap = true; desc = "Open new terminal"; };
# action = "<cmd>:term<cr>";
# }
# {
# mode = "n";
# key = "<C-a>x";
# options = { noremap = true; desc = "Close tab"; };
# action = "<cmd>:bd<cr>";
# }
# {
# mode = "n";
# key = "<C-a>s";
# options = { noremap = true; desc = "Pick buffer"; };
# action = "<cmd>:BufferLinePick<CR>";
# }
# {
# mode = "t";
# key = "<Esc><Esc>";
# options = { noremap = true; };
# action = "<C-\\><C-n>";
# }
# ];
# };
programs.ssh = {
enable = true; # Enable SSH module

View File

@ -1,9 +1,8 @@
Raphael
Gabriel
Michael
Uriel
#Azrael
Ariel
#Ariel
Cassiel
Jophiel
Zadkiel

View File

@ -45,7 +45,7 @@
networking.hostName = hostname; # Define your hostname.
networking.networkmanager.enable = true;
nix.trustedUsers = [ "root" "traverseda"];
virtualisation.vmVariant = {
# following configuration is added only when building VM with build-vm

View File

@ -42,6 +42,7 @@
pkgs.nextcloud-client
pkgs.iw
pkgs.vlc
pkgs.signal-desktop
];
programs.dconf.enable = true;

View File

@ -3,10 +3,16 @@
{
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "traverseda" ];
boot.binfmt.emulatedSystems = ["aarch64-linux"];
environment.systemPackages = with pkgs; [
pkgs.qgroundcontrol
pkgs.stdenv
pkgs.gcc
pkgs.rustc
pkgs.cargo
pkgs.zig
pkgs.kompare
pkgs.distrobox
pkgs.element-desktop
pkgs.act