git: register nixpkgs checkout with scalar
1 file changed, 25 insertions(+), 3 deletions(-)
changed files
M user/settings/git.nix → user/settings/git.nix
@@ -4,6 +4,14 @@ pkgs, lib, ... }: +let + projectDir = "${config.home.homeDirectory}/projects"; + scalarRepos = ( + map (r: projectDir + "/" + r) [ + "github.com/nixos/nixpkgs" + ] + ); +in { programs.git = { enable = true;@@ -24,11 +32,11 @@ detachedHead = false; mergeConflict = false; }; gitget = { - root = "${config.home.homeDirectory}/projects"; + root = projectDir; host = "alin.ovh"; }; ghq = { - root = "${config.home.homeDirectory}/projects"; + root = projectDir; user = "alinnow"; }; core = {@@ -118,7 +126,21 @@ dt = "ddiff"; unstage = "rm --cached"; unadd = "rm --cached"; }; - }; + } + // ( + let + repo = scalarRepos; + in + { + scalar = { + inherit repo; + }; + maintenance = { + inherit repo; + }; + } + ); + ignores = [ ".DS_Store" "*_flymake.*"