chore(nixos): update configs

`hardware.opengl` -> `hardware.graphics`
Disable `jeeves` `home-assistant` and `ollama` modules
`sha-516` -> `sha-512`
Add `jeeves` user to `input` group
Use `transmission_4` package
This commit is contained in:
reo101 2024-07-19 01:37:37 +03:00
parent b8f75023b2
commit a8ae6514d5
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
3 changed files with 21 additions and 12 deletions

View file

@ -107,7 +107,7 @@
services.xserver = {
videoDrivers = [ "nvidia" ];
};
hardware.opengl.enable = true;
hardware.graphics.enable = true;
hardware.nvidia = {
open = true;
# powerManagement.enable = true;

View file

@ -10,9 +10,9 @@
./wireguard.nix
./jellyfin.nix
./mindustry.nix
./home-assistant
# ./home-assistant
./samba.nix
./ollama.nix
# ./ollama.nix
];
age.rekey = {
@ -79,12 +79,12 @@
neovim
];
# NOTE: made with `mkpasswd -m sha-516`
# NOTE: made with `mkpasswd -m sha-512`
age.secrets."jeeves.user.password" = {
rekeyFile = "${inputs.self}/secrets/home/jeeves/user/password.age";
generator = {
script = { pkgs, ... }: ''
${pkgs.mkpasswd}/bin/mkpasswd -m sha-516
${pkgs.mkpasswd}/bin/mkpasswd -m sha-512
'';
};
};
@ -105,6 +105,7 @@
"audio"
"docker"
"transmission"
"input"
];
};
};

View file

@ -4,18 +4,26 @@
tremc
];
networking.extraHosts = ''
127.0.0.1 jeeves
'';
# networking.extraHosts = ''
# 127.0.0.1 jeeves
# '';
hardware.opengl.extraPackages = with pkgs; [
vaapiVdpau
libva1
];
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
vaapiVdpau
libva1
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer
];
};
services = {
transmission = {
enable = true;
package = pkgs.transmission_4;
openRPCPort = true;
webHome = pkgs.flood-for-transmission;
# TODO: `credentialsFile` for RPC password with agenix