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:
parent
b8f75023b2
commit
a8ae6514d5
3 changed files with 21 additions and 12 deletions
|
@ -107,7 +107,7 @@
|
|||
services.xserver = {
|
||||
videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
hardware.opengl.enable = true;
|
||||
hardware.graphics.enable = true;
|
||||
hardware.nvidia = {
|
||||
open = true;
|
||||
# powerManagement.enable = true;
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue