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 ./nvim.nix
./zsh ./zsh
./git.nix ./git.nix
./fonts.nix
./hjem.nix ./hjem.nix
./network.nix ./network.nix
./packages.nix ./packages.nix

View File

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

View File

@@ -1,9 +1,24 @@
{ config, pkgs, ... }:
{ {
hj.files."./.config/nvim" = { systemd.user.services."nvim-config" = {
source = builtins.fetchGit { description = "Clone Neovim config into ~/.config/nvim";
url = "https://git.archfox.org/poslop/nvbad.git"; after = [ "network.target" ];
rev = "eab1653d4e3663562c597bab493eeb12d94d905c"; 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, ... }: { pkgs, username, inputs, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
#inputs.nix4nvchad.packages.${system}.nvchad
zsh zsh
]; ];
hjem.users.${username}.packages = with pkgs; [ hjem.users.${username}.packages = with pkgs; [
clang
lld
llvmPackages.bintools
tlrc
rustc
cargo
unzip
neovim neovim
btop btop
curl 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 = [ imports = [
./hyprland ./hyprland
./packages.nix ./packages.nix
./fonts.nix
]; ];
} }