Add a public profile for SSH envrionments
This commit is contained in:
parent
13e01134f6
commit
5cb86ebafe
|
@ -81,6 +81,14 @@
|
|||
./home-manager/jimbo_server.nix
|
||||
];
|
||||
};
|
||||
# Derivation for ssh envrionments on other people's servers
|
||||
"jimbo@SSH" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./home-manager/jimbo_ssh.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
{pkgs, inputs, outputs, ...}: {
|
||||
imports = [
|
||||
# Terminal apps
|
||||
./tuiapps/git.nix
|
||||
./tuiapps/zsh.nix
|
||||
./tuiapps/fastfetch.nix
|
||||
./tuiapps/neovim.nix
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# Common modules
|
||||
./home.nix
|
||||
./users/jimbo.nix
|
||||
./tuiapps/git.nix
|
||||
|
||||
# GUI Apps
|
||||
./misc/guifiles.nix
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# Common modules
|
||||
./home.nix
|
||||
./users/jimbo.nix
|
||||
./tuiapps/git.nix
|
||||
];
|
||||
|
||||
# Rebuild this entire system
|
||||
|
|
18
home-manager/jimbo_ssh.nix
Normal file
18
home-manager/jimbo_ssh.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{config, ...}: {
|
||||
imports = [
|
||||
# Common modules
|
||||
./home.nix
|
||||
./users/jimbo.nix
|
||||
];
|
||||
|
||||
# Rebuild this entire system
|
||||
programs.zsh = {
|
||||
shellAliases = let
|
||||
auth = import ./common/auth.nix;
|
||||
in {
|
||||
nixdate = ''
|
||||
home-manager switch --flake ~/.home-manager/.#jimbo@JimPublic;
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue