My NixOS config Part 3: Flake-Parts Crusaders
nix.ladas552.me
hjem
nix
nixos
impermanence
flake-parts
nvfetcher
niri
noctalia
1{
2 # Quick git alias
3 # gcp "your commit" to push new commit
4
5 perSystem =
6 { pkgs, lib, ... }:
7 {
8 packages.gcp =
9 pkgs.writeShellScriptBin "gcp" # bash
10 ''
11 ${lib.meta.getExe' pkgs.git "git"} add --all && ${lib.meta.getExe' pkgs.git "git"} commit -m "$1" && ${lib.meta.getExe' pkgs.git "git"} push
12 '';
13 };
14}