mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 08:06:19 +02:00
helix fix and some useful zsh functions
This commit is contained in:
parent
4964b6036b
commit
346d04e632
10 changed files with 206 additions and 37 deletions
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue