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; }); lib = (import ../lib-nix { inherit pkgs from-yaml; lib = pkgs.lib; });
in in
rec { rec {
inherit pkgs; homeConfigurations.nyx = home-manager.lib.homeManagerConfiguration {
inherit lib; 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 { homeConfigurations.nixos = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
modules = [ modules = [

View File

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