chore: update miscellaneous parts of config

This commit is contained in:
Gabriel Arazas 2022-08-27 13:40:56 +08:00
parent cce60397a0
commit 7d51879c9f
4 changed files with 11 additions and 2 deletions

0
.gitmodules vendored
View File

View File

@ -62,11 +62,19 @@ in {
hut # And one for Sourcehut.
act # Finally, a local environment for testing GitHub workflows.
];
systemd.user.services.upgrade-nix-profile = {
description = ''
Update packages installed through `nix profile`.
'';
enable = false;
script = "nix profile upgrade '.*'";
};
})
(lib.mkIf cfg.shell.enable {
environment.systemPackages = with pkgs; [
alacritty # The terminal emu that can run fast.
bandwhich # Sniffing your packets.
lazygit # Git interface for the lazy.
fd # Oh nice, a more reliable `find`.
ripgrep # On nice, a more reliable `grep`.

View File

@ -1,5 +1,5 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
packages = with pkgs; [ asciidoctor age git nixpkgs-fmt rnix-lsp sops ];
packages = with pkgs; [ asciidoctor age git jq nixpkgs-fmt rnix-lsp sops ];
}

View File

@ -75,6 +75,7 @@ in {
"https://gitlab.gnome.org/".insteadOf = [ "gnome:" ];
"https://invent.kde.org/".insteadOf = [ "kde:" ];
"https://git.sr.ht/".insteadOf = [ "sh:" "sourcehut:" ];
"https://git.savannah.nongnu.org/git/".insteadOf = [ "sv:" "savannah:" ];
};
};
};