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 = {
|
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;
|
||||||
|
|
|
@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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 = {
|
||||||
|
enable = true;
|
||||||
|
enable32Bit = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
vaapiVdpau
|
vaapiVdpau
|
||||||
libva1
|
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
|
||||||
|
|
Loading…
Reference in a new issue