Skip to content

Commit f3b48e8

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

File tree

2 files changed

+45
-3
lines changed

2 files changed

+45
-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: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,48 @@
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+
};
123+
124+
programs.fish.shellAbbrs = {
125+
e = "nvim";
126+
};
127+
}
128+
)
129+
];
130+
};
131+
90132
tp3 = inputs.home-manager.lib.homeManagerConfiguration {
91133
pkgs = import inputs.nixpkgs {
92134
system = "x86_64-linux";

0 commit comments

Comments
 (0)