Added default.nix to the list of modules in flake.nix and changed PasswordAuthentication to true in configuration.nix.

This commit is contained in:
Alex Davies 2024-04-24 09:22:30 -03:00
parent 2db3c0d234
commit 9fc76fba2c
2 changed files with 2 additions and 4 deletions

View File

@ -63,8 +63,8 @@
athame = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;};
modules = [
# > Our main nixos configuration file <
./nixos/configuration.nix
./nixos/default.nix
];
};
};

View File

@ -71,8 +71,6 @@
auto-optimise-store = true;
};
# FIXME: Add the rest of your current configuration
# TODO: Set your hostname
networking.hostName = "your-hostname";
@ -96,7 +94,7 @@
# Forbid root login through SSH.
PermitRootLogin = "no";
# Use keys only. Remove if you want to SSH using password (not recommended)
PasswordAuthentication = false;
PasswordAuthentication = true;
};
};