generated from john/nix-docker
authorized_keys
This commit is contained in:
11
flake.nix
11
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 {
|
||||
|
||||
Reference in New Issue
Block a user