diff --git a/flake.nix b/flake.nix index a54fa61..cde6f45 100644 --- a/flake.nix +++ b/flake.nix @@ -75,10 +75,20 @@ boot.initrd.kernelModules = ["hv_vmbus" "hv_storvsc"]; # Hyper-V Support # Disable unneeded features - documentation.enable = false; + documentation.enable = nixpkgs.lib.mkForce false; + documentation.nixos.enable = nixpkgs.lib.mkForce false; fonts.fontconfig.enable = false; services.udisks2.enable = false; + users.allowNoPasswordLogin = true; + users.mutableUsers = false; + + security.sudo.enable = false; + + services.getty.helpLine = nixpkgs.lib.mkForce ""; + + nix.enable = false; + networking.firewall.enable = false; # Technically we COULD use the firewall, but given that this is a network-dependent, one-time-use service, it would cause more issues services.getty.autologinUser = nixpkgs.lib.mkForce "root";