This commit is contained in:
tristan 2024-10-24 10:45:14 +01:00
parent ca39b169c2
commit 825381f98b
7 changed files with 31 additions and 23 deletions

View file

@ -60,7 +60,7 @@ in {
boot.plymouth.enable = true;
boot.initrd.verbose = false;
boot.consoleLogLevel = 1;
boot.kernelParams = [ "quiet" "udev.log_level=3" ];
boot.kernelParams = ["quiet" "udev.log_level=3"];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
@ -110,5 +110,4 @@ in {
};
}
];
}

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
imports = [
./pcmanfm.nix
./mpv.nix
@ -34,7 +31,6 @@
bitwarden
];
xdg.mimeApps.defaultApplications = {
"application/pdf" = "sioyek.desktop";
};

View file

@ -1,9 +1,14 @@
{config, pkgs, lib, ...}: {
{
config,
pkgs,
lib,
...
}: {
programs.nixvim =
{
enable = true;
}
// ( import ../../../lib/nixvim.nix {inherit pkgs;} );
// (import ../../../lib/nixvim.nix {inherit pkgs;});
programs.vscode = {
extensions = [pkgs.vscode-extensions.asvetliakov.vscode-neovim];

View file

@ -41,7 +41,6 @@ in {
remoteWorkspaceFolder=$(echo $res | ${jq} -r '.remoteWorkspaceFolder')
docker exec -it --workdir=$remoteWorkspaceFolder $containerId bash
''))
];
home.sessionVariables = {

View file

@ -202,7 +202,7 @@
cmp = {
enable = true;
settings = {
settings = {
mapping = {
"<C-Space>" = "cmp.mapping.complete()";
"<C-u>" = "cmp.mapping.scroll_docs(4)";
@ -213,9 +213,9 @@
"<C-n>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
};
sources = [
{ name = "nvim_lsp"; }
{ name = "path"; }
{ name = "buffer"; }
{name = "nvim_lsp";}
{name = "path";}
{name = "buffer";}
];
};
};
@ -256,9 +256,18 @@
enable = true;
lookahead = true;
keymaps = {
"af" = { query = "@function.outer"; desc = "Function Outer"; };
"ac" = { query = "@comment.outer"; desc = "Comment Outer"; };
"if" = { query = "@function.inner"; desc = "Function Inner"; };
"af" = {
query = "@function.outer";
desc = "Function Outer";
};
"ac" = {
query = "@comment.outer";
desc = "Comment Outer";
};
"if" = {
query = "@function.inner";
desc = "Function Inner";
};
};
};
};
@ -267,5 +276,4 @@
ts-autotag.enable = true;
guess-indent.enable = true;
};
}

View file

@ -17,7 +17,6 @@ in {
"openssl-1.1.1w" # required for mongodb
];
networking = {
networkmanager = {
plugins = [pkgs.networkmanager-openvpn];

View file

@ -1,6 +1,9 @@
{stdenv, pkgs, ...}:
let
version = "6.0.14";
{
stdenv,
pkgs,
...
}: let
version = "6.0.14";
in
stdenv.mkDerivation {
name = "mongodb";
@ -29,4 +32,3 @@ in
runHook postInstall
'';
}