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