format
This commit is contained in:
parent
ca39b169c2
commit
825381f98b
7 changed files with 31 additions and 23 deletions
|
|
@ -60,7 +60,7 @@ in {
|
||||||
boot.plymouth.enable = true;
|
boot.plymouth.enable = true;
|
||||||
boot.initrd.verbose = false;
|
boot.initrd.verbose = false;
|
||||||
boot.consoleLogLevel = 1;
|
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
|
# 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
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|
@ -110,5 +110,4 @@ in {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
./pcmanfm.nix
|
./pcmanfm.nix
|
||||||
./mpv.nix
|
./mpv.nix
|
||||||
|
|
@ -34,7 +31,6 @@
|
||||||
bitwarden
|
bitwarden
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
xdg.mimeApps.defaultApplications = {
|
xdg.mimeApps.defaultApplications = {
|
||||||
"application/pdf" = "sioyek.desktop";
|
"application/pdf" = "sioyek.desktop";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,14 @@
|
||||||
{config, pkgs, lib, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.nixvim =
|
programs.nixvim =
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
}
|
}
|
||||||
// ( import ../../../lib/nixvim.nix {inherit pkgs;} );
|
// (import ../../../lib/nixvim.nix {inherit pkgs;});
|
||||||
|
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
extensions = [pkgs.vscode-extensions.asvetliakov.vscode-neovim];
|
extensions = [pkgs.vscode-extensions.asvetliakov.vscode-neovim];
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,6 @@ in {
|
||||||
remoteWorkspaceFolder=$(echo $res | ${jq} -r '.remoteWorkspaceFolder')
|
remoteWorkspaceFolder=$(echo $res | ${jq} -r '.remoteWorkspaceFolder')
|
||||||
docker exec -it --workdir=$remoteWorkspaceFolder $containerId bash
|
docker exec -it --workdir=$remoteWorkspaceFolder $containerId bash
|
||||||
''))
|
''))
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
|
|
|
||||||
|
|
@ -213,9 +213,9 @@
|
||||||
"<C-n>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
"<C-n>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
||||||
};
|
};
|
||||||
sources = [
|
sources = [
|
||||||
{ name = "nvim_lsp"; }
|
{name = "nvim_lsp";}
|
||||||
{ name = "path"; }
|
{name = "path";}
|
||||||
{ name = "buffer"; }
|
{name = "buffer";}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -256,9 +256,18 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
lookahead = true;
|
lookahead = true;
|
||||||
keymaps = {
|
keymaps = {
|
||||||
"af" = { query = "@function.outer"; desc = "Function Outer"; };
|
"af" = {
|
||||||
"ac" = { query = "@comment.outer"; desc = "Comment Outer"; };
|
query = "@function.outer";
|
||||||
"if" = { query = "@function.inner"; desc = "Function Inner"; };
|
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;
|
ts-autotag.enable = true;
|
||||||
guess-indent.enable = true;
|
guess-indent.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ in {
|
||||||
"openssl-1.1.1w" # required for mongodb
|
"openssl-1.1.1w" # required for mongodb
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
plugins = [pkgs.networkmanager-openvpn];
|
plugins = [pkgs.networkmanager-openvpn];
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
{stdenv, pkgs, ...}:
|
{
|
||||||
let
|
stdenv,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
version = "6.0.14";
|
version = "6.0.14";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
|
@ -29,4 +32,3 @@ in
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue