Add a public profile for SSH envrionments

This commit is contained in:
Jimbo 2024-08-27 13:17:32 -06:00
parent 13e01134f6
commit 5cb86ebafe
5 changed files with 28 additions and 1 deletions

View file

@ -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
];
};
};
};
}

View file

@ -3,7 +3,6 @@
{pkgs, inputs, outputs, ...}: {
imports = [
# Terminal apps
./tuiapps/git.nix
./tuiapps/zsh.nix
./tuiapps/fastfetch.nix
./tuiapps/neovim.nix

View file

@ -3,6 +3,7 @@
# Common modules
./home.nix
./users/jimbo.nix
./tuiapps/git.nix
# GUI Apps
./misc/guifiles.nix

View file

@ -3,6 +3,7 @@
# Common modules
./home.nix
./users/jimbo.nix
./tuiapps/git.nix
];
# Rebuild this entire system

View 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;
'';
};
};
}