ssh: add nyx settings

nix-components
pegasust 2022-11-14 00:51:25 -07:00
parent 6c1d177e03
commit ed04add0ce
2 changed files with 19 additions and 5 deletions

View File

@ -32,8 +32,22 @@
lib = (import ../lib-nix { inherit pkgs from-yaml; lib = pkgs.lib; });
in
rec {
inherit pkgs;
inherit lib;
homeConfigurations.nyx = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./home.nix
];
# optionally pass inarguments to module
# we migrate this from in-place modules to allow flexibility
# in this case, we can add "home" to input arglist of home.nix
extraSpecialArgs = {
myLib = lib;
myHome = {
username = "nyx";
homeDirectory = "/home/nyx";
};
};
};
homeConfigurations.nixos = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [

View File

@ -38,8 +38,8 @@ Host nyx
User nyx
Port 22
Host ocolo-lab-2
HostName 139.144.18.164
User root
Host lizzi
HostName 172.105.135.218
User hungtr
Port 22