make home profile for server

2
This commit is contained in:
sadan 2025-02-21 22:54:39 -05:00
parent f59f799948
commit 74b9dc142a
No known key found for this signature in database
6 changed files with 51 additions and 27 deletions

View file

@ -1,6 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: {
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
filelight
ksshaskpass ksshaskpass
xsel xsel
libsForQt5.kinit libsForQt5.kinit

View file

@ -0,0 +1,19 @@
{pkgs, config, ...}: {
home = {
packages = with pkgs; [
neovim
];
file = {
nvim = {
recursive = true;
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/light.config";
target = "./.config/nvim";
};
};
sessionVariables = {
EDITOR = "nvim";
MANPAGER = "nvim +Man!";
};
};
}

View file

@ -13,7 +13,6 @@
sessionVariables = { sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
MANPAGER = "nvim +Man!"; MANPAGER = "nvim +Man!";
MANWIDTH = "999";
}; };
}; };
} }

View file

@ -1,25 +1,26 @@
{pkgs, lib, ...}: { { pkgs, lib, ... }:
home = { {
packages = with pkgs; [ home = {
unixtools.xxd packages = with pkgs; [
filelight # CLI ONLY
p7zip unixtools.xxd
dig p7zip
bat dig
usbutils bat
tree usbutils
sops tree
fzf sops
jq fzf
unzip jq
unrar unzip
]; unrar
sessionVariables = { ];
BAT_THEME = "Dracula"; sessionVariables = {
SSH_ASKPASS_REQUIRE = "prefer"; BAT_THEME = "Dracula";
}; SSH_ASKPASS_REQUIRE = "prefer";
sessionPath = [
"$HOME/.local/bin"
];
}; };
sessionPath = [
"$HOME/.local/bin"
];
};
} }

View file

@ -1,6 +1,5 @@
{ lib, pkgs, ... }: { lib, pkgs, ... }:
let let
# TODO: make these modular # TODO: make these modular
_ = [ _ = [
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme" "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"

View file

@ -1,4 +1,3 @@
{ {
... ...
}: }:
@ -7,6 +6,12 @@
nixpkgs.config.allowUnfreePredicate = (pkg: true); nixpkgs.config.allowUnfreePredicate = (pkg: true);
imports = [ imports = [
../homeModules/nvim.light.nix
../homeModules/git.nix
../homeModules/zsh.nix
../homeModules/sops.nix
../homeModules/utils.nix
../homeModules/media/cli.nix
]; ];
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should