Compare commits

..

5 Commits

Author SHA1 Message Date
570687deae credential store 2026-01-30 23:34:47 -06:00
9c4ec53b0f nix lsp for nvim 2026-01-30 23:29:19 -06:00
b038dd3a41 package clean 2026-01-30 22:36:31 -06:00
c08fb243cc moved fonts to home 2026-01-30 20:30:30 -06:00
835e7498e4 nvim systemd for cloning 2026-01-30 20:24:40 -06:00
7 changed files with 35 additions and 8 deletions

View File

@@ -3,7 +3,6 @@
./nvim.nix
./zsh
./git.nix
./fonts.nix
./hjem.nix
./network.nix
./packages.nix

View File

@@ -9,6 +9,9 @@
core = {
editor = "nvim -f";
};
credential = {
helper = "store";
};
};
};
}

View File

@@ -1,9 +1,24 @@
{ config, pkgs, ... }:
{
hj.files."./.config/nvim" = {
source = builtins.fetchGit {
url = "https://git.archfox.org/poslop/nvbad.git";
rev = "eab1653d4e3663562c597bab493eeb12d94d905c";
systemd.user.services."nvim-config" = {
description = "Clone Neovim config into ~/.config/nvim";
after = [ "network.target" ];
wantedBy = [ "default.target" ];
enable = true;
serviceConfig = {
Type = "oneshot";
};
uid = "poslop";
script = ''
set -e
if [ ! -d "$HOME/.config/nvim/.git" ]; then
echo "Cloning Neovim config..."
${pkgs.git}/bin/git clone https://git.archfox.org/poslop/nvbad.git "$HOME/.config/nvim"
else
echo "Neovim config already exists, skipping."
fi
'';
};
}

View File

@@ -1,11 +1,17 @@
{ pkgs, username, inputs, ... }:
{
environment.systemPackages = with pkgs; [
#inputs.nix4nvchad.packages.${system}.nvchad
zsh
];
hjem.users.${username}.packages = with pkgs; [
clang
lld
llvmPackages.bintools
tlrc
rustc
cargo
unzip
neovim
btop
curl

View File

@@ -1,4 +1,7 @@
_:
{
programs.zsh.enable = true;
programs = {
zsh.enable = true;
nix-ld.enable = true;
};
}

View File

@@ -2,5 +2,6 @@
imports = [
./hyprland
./packages.nix
./fonts.nix
];
}