helix fix and some useful zsh functions

This commit is contained in:
Rouven Seifert 2023-08-12 18:34:29 +02:00
parent 4964b6036b
commit 346d04e632
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
10 changed files with 206 additions and 37 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, helix, ... }:
{
nix.settings.experimental-features = [ "nix-command" "flakes" ];
imports =
@ -38,7 +38,7 @@
vim
wget
htop-vim
helix
helix.packages.x86_64-linux.default
lsof
python3
];

View file

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }:
{ config, pkgs, trucksimulatorbot, ... }:
let
domain = "trucksimulatorbot.rfive.de";
in
@ -39,7 +39,7 @@ in
proxyPass = "http://127.0.0.1:${toString config.services.trucksimulatorbot.listenPort}";
};
locations."/docs" = {
root = "${inputs.trucksimulatorbot.packages.x86_64-linux.docs}";
root = "${trucksimulatorbot.packages.x86_64-linux.docs}";
};
};
};

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, helix, ... }:
{
nix.settings.experimental-features = [ "nix-command" "flakes" ];
imports =
@ -58,7 +58,7 @@
vim
wget
htop-vim
helix
helix.packages.x86_64-linux.default
lsof
btdu
];

View file

@ -38,10 +38,12 @@
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
substituters = [
"https://helix.cachix.org"
"ssh://nuc.lan"
];
trusted-public-keys = [
"nuc.lan:a9UkVw3AizAKCER1CfNGhx8UOMF4t4UGE3GJ9dmHwJc="
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
];
};
# distributedBuilds = true;
@ -183,6 +185,13 @@
};
};
security.tpm2 = {
enable = true;
pkcs11.enable = true;
abrmd.enable = true;
tctiEnvironment.enable = true;
};
hardware.opengl.extraPackages = with pkgs; [
intel-compute-runtime
intel-media-driver
@ -192,6 +201,7 @@
# hardware utilities
nvme-cli
intel-gpu-tools
tpm2-tools
# system essentials
wget