diff --git a/flake.nix b/flake.nix index f7974e5..c406989 100644 --- a/flake.nix +++ b/flake.nix @@ -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 {