git: update paths for projects

This commit is contained in:
Christoph Hollizeck 2025-11-17 23:54:36 +01:00
parent 1f635ff6ac
commit dbe87c7bab
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
5 changed files with 97 additions and 89 deletions

View file

@ -52,7 +52,7 @@
checkHash = "nix hash to-sri --type sha256 $(nix-prefetch-url --unpack $argv)";
deployNixberry = "nixos-rebuild switch --flake .#nixberry --target-host nixberry --sudo --ask-sudo-password";
deployLoptland = "nixos-rebuild switch --flake .#loptland --target-host christophhollizeck.dev --sudo --ask-sudo-password";
checkPR = ''cd /home/cholli/projects/nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --systems "x86_64-linux aarch64-linux"'';
checkPR = ''cd /home/cholli/projects/NixOS/nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --systems "x86_64-linux aarch64-linux"'';
};
plugins = with pkgs.fishPlugins; [
{

View file

@ -56,7 +56,7 @@ topLevel: {
};
maintenance = {
repo = [
"/home/${username}/projects/nixpkgs"
"/home/${username}/projects/NixOS/nixpkgs"
"/home/${username}/projects/config"
];
strategy = "incremental";

View file

@ -8,22 +8,6 @@
enable = true;
settings = {
prSections = [
{
title = "To review";
filters = "repo:NixOS/nixpkgs is:open draft:false status:success";
}
{
title = "1st contribution";
filters = ''repo:NixOS/nixpkgs is:open draft:false label:"12. first-time contribution"'';
}
{
title = "1st approval";
filters = ''repo:NixOS/nixpkgs is:open draft:false status:success label:"12.approvals: 1"'';
}
{
title = "From r-ryantm only";
filters = ''repo:NixOS/nixpkgs is:open draft:false status:success base:master -label:"1.severity: mass-rebuild" -label:"1.severity: mass-darwin-rebuild" author:r-ryantm'';
}
{
title = "My PRs";
filters = "is:open author:@me";
@ -32,6 +16,14 @@
title = "Needs my review";
filters = "is:open review-requested:@me";
}
{
title = "To review";
filters = "repo:NixOS/nixpkgs is:open draft:false status:success";
}
{
title = "1st contribution";
filters = ''repo:NixOS/nixpkgs is:open draft:false label:"12. first-time contribution"'';
}
{
title = "Involved";
filters = "is:open involves:@me -author:@me";
@ -47,6 +39,11 @@
};
refetchIntervalMinutes = 10;
};
repoPaths = {
"NixOS/*" = "~/projects/NixOS/*";
"nix-community/*" = "~/projects/nix-community/*";
"sodiboo/niri-flake" = "~/projects/niri/niri-flake/";
};
theme.ui.table.showSeparator = false;
};
};

View file

@ -50,7 +50,12 @@
};
homeManager.cholli =
{ pkgs, ... }:
{
lib,
osConfig,
pkgs,
...
}:
let
defaultIconFileName = "profile.png";
in
@ -63,9 +68,15 @@
"Music/.keep".text = "";
"Pictures/.keep".text = "";
"Videos/.keep".text = "";
"projects/.keep".text = "";
".face".source = ./${defaultIconFileName};
"Pictures/${defaultIconFileName}".source = ./${defaultIconFileName};
}
// lib.optionalAttrs (osConfig.networking.hostName == "yggdrasil") {
# Some Paths for my main machine
"projects/NixOS/.keep".text = "";
"projects/nix-community/.keep".text = "";
"projects/niri/.keep".text = "";
"work/.keep".text = "";
};
packages = with pkgs; [ graphviz ];