authorized_keys

This commit is contained in:
John Lancaster
2024-12-08 13:30:58 -06:00
parent 5233efa8ba
commit 50bb31a670

View File

@@ -38,21 +38,12 @@
nixpkgs.hostPlatform = "${system}";
system.stateVersion = "${stateVersion}";
time.timeZone = "${timeZone}";
# environment.systemPackages = [
# (pkgs.writeShellScriptBin "nfs" ''
# sudo nixos-rebuild switch --flake git+file:///etc/nixos#${hostname}
# '')
# ];
users.users.${user}.openssh.authorizedKeys.keyFiles = [ "/root/.ssh/authorized_keys" ];
})
];
};
};
# homeManagerModules.default = ./homeManagerModules;
# nixosModules.default = ./nixosModules;
# Standalone home-manager configuration entrypoint
# Available through 'home-manager --flake .#your-username@your-hostname'
homeConfigurations = {
useGlobalPkgs = true;
"root@${hostname}" = home-manager.lib.homeManagerConfiguration {