getty by default

This commit is contained in:
41666 2023-12-23 02:16:31 -05:00
parent 0c4fcd5519
commit 6fdb1cd520

View file

@ -1,14 +1,20 @@
{ pkgs, config, modulesPath, ... }: {
{ pkgs, config, modulesPath, lib, ... }: {
imports = [
(modulesPath + "/virtualisation/proxmox-lxc.nix")
];
system.stateVersion = "24.05";
users.users.root.hashedPassword = "$y$j9T$kWYIRHrwP1uXV.l4vTJ67/$VGkvX09rzebYPWRI5vk0Z/IDo434bBaIqUutWp4l0L2"; # hmmmm
users.users.root.hashedPassword = "$y$j9T$kWYIRHrwP1uXV.l4vTJ67/$VGkvX09rzebYPWRI5vk0Z/IDo434bBaIqUutWp4l0L2";
users.users.root.openssh.authorizedKeys.keys = import ../users/noe-keys.nix;
environment.systemPackages = with pkgs; [
bashInteractive
];
systemd.services."getty@tty1" = {
enable = lib.mkForce true;
wantedBy = [ "getty.target" ];
serviceConfig.Restart = "always";
};
}