ssh: add nyx settings
parent
6c1d177e03
commit
ed04add0ce
|
@ -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 = [
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue