ssh: add nyx settings
parent
6c1d177e03
commit
ed04add0ce
|
@ -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 {
|
||||||
|
homeConfigurations.nyx = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
inherit lib;
|
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 = [
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue