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 = { services.xserver = {
videoDrivers = [ "nvidia" ]; videoDrivers = [ "nvidia" ];
}; };
hardware.opengl.enable = true; hardware.graphics.enable = true;
hardware.nvidia = { hardware.nvidia = {
open = true; open = true;
# powerManagement.enable = true; # powerManagement.enable = true;

View file

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

View file

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