Skip to content

Commit 0e91560

Browse files
committed
add runpod hm config
1 parent 4fe41cd commit 0e91560

File tree

2 files changed

+44
-3
lines changed

2 files changed

+44
-3
lines changed

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/home/default.nix

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,47 @@
8787
];
8888
};
8989

90+
runpod = inputs.home-manager.lib.homeManagerConfiguration {
91+
pkgs = import inputs.nixpkgs {
92+
system = "x86_64-linux";
93+
overlays = [
94+
inputs.nixcfg.overlays.default
95+
inputs.nvim-config.overlays.default
96+
self.overlays.default
97+
];
98+
config.allowUnfree = true;
99+
};
100+
101+
modules = [
102+
inputs.nixcfg.hmModules.cli-bat
103+
inputs.nixcfg.hmModules.cli-direnv
104+
inputs.nixcfg.hmModules.cli-fish
105+
inputs.nixcfg.hmModules.cli-git
106+
inputs.nixcfg.hmModules.cli-lazygit
107+
inputs.nixcfg.hmModules.cli-tmux
108+
(
109+
{ pkgs, ... }:
110+
{
111+
home = {
112+
username = "root";
113+
homeDirectory = "/root";
114+
stateVersion = "24.11";
115+
packages = [
116+
pkgs.ghostty.terminfo
117+
pkgs.nixvim-minimal
118+
];
119+
sessionVariables = {
120+
EDITOR = "nvim";
121+
};
122+
programs.fish.shellAbbrs = {
123+
e = "nvim";
124+
};
125+
};
126+
}
127+
)
128+
];
129+
};
130+
90131
tp3 = inputs.home-manager.lib.homeManagerConfiguration {
91132
pkgs = import inputs.nixpkgs {
92133
system = "x86_64-linux";

0 commit comments

Comments
 (0)