This commit is contained in:
2025-08-06 22:03:01 +02:00
parent 9ac8172726
commit 1079071b97
14 changed files with 37 additions and 17 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
result

View File

View File

@@ -1,8 +1,8 @@
{ {
agenix, agenix,
config, config,
pkgs,
lib, lib,
pkgs,
user, user,
... ...
}: { }: {
@@ -60,10 +60,14 @@
agenix.packages."${pkgs.system}".default agenix.packages."${pkgs.system}".default
]; ];
programs.fish.enable = true;
system = { system = {
primaryUser = user; primaryUser = user;
stateVersion = 5; stateVersion = 5;
}; };
programs.fish.enable = true;
services.tailscale = {
enable = true;
};
} }

View File

@@ -5,7 +5,6 @@
./eza.nix ./eza.nix
./fish.nix ./fish.nix
./git.nix ./git.nix
./jujutsu.nix
./neovim ./neovim
./ssh.nix ./ssh.nix
./starship.nix ./starship.nix

View File

@@ -1,5 +0,0 @@
{
programs.jujutsu = {
enable = true;
};
}

View File

@@ -17,6 +17,12 @@
pattern = "*"; pattern = "*";
command = "normal zR"; command = "normal zR";
} }
{
event = "FileReadPost";
group = "Christoph";
pattern = "*";
command = "normal zR";
}
{ {
event = "LspAttach"; event = "LspAttach";
group = "Christoph"; group = "Christoph";

View File

@@ -4,6 +4,7 @@
./autocmd.nix ./autocmd.nix
./mappings.nix ./mappings.nix
./plugins/conform.nix ./plugins/conform.nix
./plugins/lazygit.nix
./plugins/mini.nix ./plugins/mini.nix
./plugins/oil.nix ./plugins/oil.nix
./plugins/treesitter.nix ./plugins/treesitter.nix

View File

@@ -20,9 +20,15 @@
} }
{ {
mode = "n"; mode = "n";
key = "<leader>e"; key = "<leader>ed";
action = ":Oil<CR>"; action = ":Oil<CR>";
options.desc = "File browser"; options.desc = "File browser";
} }
{
mode = "n";
key = "<leader>gg";
action = ":LazyGit<CR>";
options.desc = "Lazygit";
}
]; ];
} }

View File

@@ -0,0 +1,5 @@
{
programs.nixvim.plugins.lazygit = {
enable = true;
};
}

View File

@@ -24,6 +24,8 @@
}; };
}; };
align = {}; align = {};
diff = {};
git = {};
bracketed = {}; bracketed = {};
comment = {}; comment = {};
completion = { completion = {
@@ -33,6 +35,7 @@
}; };
indentscope = {}; indentscope = {};
move = {}; move = {};
starter = {};
pairs = {}; pairs = {};
trailspace = {}; trailspace = {};
visits = {}; visits = {};

View File

@@ -2,17 +2,17 @@
with pkgs; [ with pkgs; [
age age
age-plugin-yubikey age-plugin-yubikey
lazygit
alejandra alejandra
delta delta
docker docker
docker-compose docker-compose
git git
gnupg gnupg
jjui
jq jq
killall killall
libfido2 libfido2
nerd-fonts.iosevka iosevka
nodejs_24 nodejs_24
nurl nurl
opencode opencode

View File

@@ -8,10 +8,10 @@
... ...
}: { }: {
imports = [ imports = [
./dock ./secrets.nix
./system.nix ./system.nix
./homebrew.nix ./homebrew.nix
./secrets.nix ./dock
]; ];
users.users.${user} = { users.users.${user} = {
@@ -37,7 +37,7 @@
]; ];
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
home = { home = {
packages = pkgs.callPackage ./packages.nix {} ++ pkgs.callPackage ../base/packages.nix {}; packages = pkgs.callPackage ../base/packages.nix {} ++ pkgs.callPackage ./packages.nix {};
stateVersion = "24.05"; stateVersion = "24.05";
}; };
}; };

View File

@@ -8,7 +8,7 @@
window-padding-x = 8; window-padding-x = 8;
window-padding-y = 2; window-padding-y = 2;
window-padding-balance = true; window-padding-balance = true;
font-family = "Iosevka Nerd Font"; font-family = "Iosevka";
font-size = 15.5; font-size = 15.5;
font-feature = [ font-feature = [
"-calt" "-calt"

View File

@@ -15,7 +15,7 @@
show-recents = false; show-recents = false;
launchanim = true; launchanim = true;
orientation = "bottom"; orientation = "bottom";
tilesize = 50; tilesize = 60;
}; };
finder = { finder = {