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, ...}: {
home = {
packages = with pkgs; [
filelight
ksshaskpass
xsel
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 = {
EDITOR = "nvim";
MANPAGER = "nvim +Man!";
MANWIDTH = "999";
};
};
}

View file

@ -1,8 +1,9 @@
{pkgs, lib, ...}: {
{ pkgs, lib, ... }:
{
home = {
packages = with pkgs; [
# CLI ONLY
unixtools.xxd
filelight
p7zip
dig
bat

View file

@ -1,6 +1,5 @@
{ lib, pkgs, ... }:
let
# TODO: make these modular
_ = [
"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);
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