Compare commits
5 Commits
4b4e3a95bf
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 570687deae | |||
| 9c4ec53b0f | |||
| b038dd3a41 | |||
| c08fb243cc | |||
| 835e7498e4 |
@@ -3,7 +3,6 @@
|
||||
./nvim.nix
|
||||
./zsh
|
||||
./git.nix
|
||||
./fonts.nix
|
||||
./hjem.nix
|
||||
./network.nix
|
||||
./packages.nix
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
core = {
|
||||
editor = "nvim -f";
|
||||
};
|
||||
credential = {
|
||||
helper = "store";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
_:
|
||||
{
|
||||
programs.zsh.enable = true;
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
nix-ld.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,5 +2,6 @@
|
||||
imports = [
|
||||
./hyprland
|
||||
./packages.nix
|
||||
./fonts.nix
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user