add trusted users
This commit is contained in:
parent
6bf0a545d2
commit
e90c48beb4
3 changed files with 9 additions and 1 deletions
|
|
@ -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"];
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@
|
|||
}: {
|
||||
imports = [./hardware-configuration.nix];
|
||||
|
||||
nix.settings = {
|
||||
trusted-users = ["zack"];
|
||||
};
|
||||
|
||||
hardware.audio.enable = true;
|
||||
hardware.nvidia.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
nix.settings = {
|
||||
trusted-users = ["zack"];
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue