feat: add nix-update+nvd script
This commit is contained in:
parent
307ae1bac9
commit
d3150b5a5a
7 changed files with 56 additions and 11 deletions
|
|
@ -17,7 +17,6 @@
|
|||
nec = "nvim --cmd \"cd $(readlink -f /etc/nixos)\"";
|
||||
ncc = "sudo nixos-rebuild switch --upgrade-all --flake \"$(readlink -f /etc/nixos)\"";
|
||||
nup = "sudo nix-channel --update";
|
||||
nuf = "sudo nix flake update --nix-path /etc/nixos";
|
||||
ngc = "sudo nix-collect-garbage -d";
|
||||
|
||||
dcup = "docker-compose up --detach --remove-orphans";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
{ ... }: {
|
||||
nix.settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
auto-optimise-store = true;
|
||||
{ pkgs, ... }: {
|
||||
nix = {
|
||||
# TODO remove once 24.05 is released
|
||||
package = pkgs.nixVersions.unstable;
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
unzip
|
||||
libsecret
|
||||
xidel # xml parser
|
||||
nvd # nix diff package versions between two store paths
|
||||
] ++ lib.optionals (devenv.enable) [
|
||||
# languages
|
||||
gcc13
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue