add trusted users

This commit is contained in:
zackartz 2024-05-29 22:14:43 -04:00
parent 6bf0a545d2
commit e90c48beb4
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA
3 changed files with 9 additions and 1 deletions

View file

@ -14,7 +14,7 @@ with lib.custom; let
src = pkgs.fetchurl {
name = "wings";
url = "https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64";
sha256 = "sha256-S8vTpxvtmv7TfRMpgKxVPkvTmji1rlPEd9ApM3Rt6FY=";
sha256 = "sha256-rKX6Rd3xwQ8JLBbddYuSDYo/qfkcN6rMYnRecpWL9xo=";
};
phases = ["installPhase"];

View file

@ -8,6 +8,10 @@
}: {
imports = [./hardware-configuration.nix];
nix.settings = {
trusted-users = ["zack"];
};
hardware.audio.enable = true;
hardware.nvidia.enable = true;

View file

@ -11,6 +11,10 @@
./hardware-configuration.nix
];
nix.settings = {
trusted-users = ["zack"];
};
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;