Skip to content

Commit

Permalink
Fix deprecation warnings (see issue #3 by @behrica) [..]
Browse files Browse the repository at this point in the history
  • Loading branch information
toraritte committed Nov 27, 2023
1 parent 8847efb commit aa84d79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions nixos/maintainers/scripts/azure-new/examples/basic/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ in
# description = "Azure NixOS Test User";
# openssh.authorizedKeys.keys = [ (builtins.readFile ~/.ssh/id_ed25519.pub) ];
};
# nix.trustedUsers = [ username ];
nix.trustedUsers = [ "@wheel" ];
# nix.settings.trusted-users = [ username ];
nix.settings.trusted-users = [ "@wheel" ];

virtualisation.azureImage.diskSize = 2500;

system.stateVersion = "20.03";
boot.kernelPackages = pkgs.linuxPackages_latest;

# test user doesn't have a password
services.openssh.passwordAuthentication = false;
services.openssh.settings.PasswordAuthentication = false;
security.sudo.wheelNeedsPassword = false;

environment.systemPackages = with pkgs; [
Expand Down
6 changes: 3 additions & 3 deletions nixos/maintainers/scripts/azure-new/tr2-image/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ in
# description = "Azure NixOS Test User";
# openssh.authorizedKeys.keys = [ (builtins.readFile ~/.ssh/id_ed25519.pub) ];
};
# nix.trustedUsers = [ username ];
nix.trustedUsers = [ "@wheel" ];
# nix.settings.trusted-users = [ username ];
nix.settings.trusted-users = [ "@wheel" ];

virtualisation.azureImage.diskSize = 2500;

system.stateVersion = "20.03";
boot.kernelPackages = pkgs.linuxPackages_latest;

# test user doesn't have a password
services.openssh.passwordAuthentication = false;
services.openssh.settings.PasswordAuthentication = false;
security.sudo.wheelNeedsPassword = false;

environment.systemPackages = with pkgs; [
Expand Down

0 comments on commit aa84d79

Please sign in to comment.