more experiments in wol

This commit is contained in:
alisceon 2026-01-27 15:44:52 +01:00
parent 2f8c779d7b
commit 041440c889
5 changed files with 170 additions and 7 deletions

View file

@ -4,7 +4,9 @@
imports =
[ ./hardware-configuration.nix ];
networking.hostName = "electra";
environment.systemPackages = with pkgs; [
wakeonlan
];
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{
environment.systemPackages = with pkgs; [
wakeonlan
];
security.sudo.wheelNeedsPassword = false;
imports =
[ ./hardware-configuration.nix ];

View file

@ -52,10 +52,15 @@
xserver.videoDrivers = [ "nvidia" ];
openssh.enable = true;
}; # end services
environment.variables = {
GBM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
MOZ_DISABLE_RDD_SANDBOX= "1" ;
LIBVA_DRIVER_NAME = "nvidia";
environment = {
variables = {
GBM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
MOZ_DISABLE_RDD_SANDBOX= "1" ;
LIBVA_DRIVER_NAME = "nvidia";
};
systemPackages = [
pkgs.efibootmgr
]
};
} # end file