From 7d51879c9f8703de0e844849de078ec5910ca592 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 27 Aug 2022 13:40:56 +0800 Subject: [PATCH] chore: update miscellaneous parts of config --- .gitmodules | 0 modules/nixos/profiles/dev.nix | 10 +++++++++- shell.nix | 2 +- users/home-manager/foo-dogsquared/default.nix | 1 + 4 files changed, 11 insertions(+), 2 deletions(-) delete mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e69de29b..00000000 diff --git a/modules/nixos/profiles/dev.nix b/modules/nixos/profiles/dev.nix index b6af5e27..703b4a06 100644 --- a/modules/nixos/profiles/dev.nix +++ b/modules/nixos/profiles/dev.nix @@ -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`. diff --git a/shell.nix b/shell.nix index 89d4cd62..fd36c733 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,5 @@ { pkgs ? import { } }: 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 ]; } diff --git a/users/home-manager/foo-dogsquared/default.nix b/users/home-manager/foo-dogsquared/default.nix index 29f2ac91..9d5a9b4b 100644 --- a/users/home-manager/foo-dogsquared/default.nix +++ b/users/home-manager/foo-dogsquared/default.nix @@ -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:" ]; }; }; };