cleanup: dead-nix
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
};
|
||||
|
||||
config = lib.mkIf (lib.any (s: s.enable) (lib.attrValues config.my.scripts)) {
|
||||
users.users.jawz.packages = lib.flatten (lib.mapAttrsToList (name: script:
|
||||
users.users.jawz.packages = lib.flatten (lib.mapAttrsToList (_name: script:
|
||||
lib.optional (script.enable && script.install) script.package)
|
||||
config.my.scripts);
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
upgrade-pg-cluster =
|
||||
let newPostgres = pkgs.postgresql_16.withPackages (pp: [ ]);
|
||||
let newPostgres = pkgs.postgresql_16.withPackages (_pp: [ ]);
|
||||
in pkgs.writeScriptBin "upgrade-pg-cluster" ''
|
||||
set -eux
|
||||
systemctl stop postgresql
|
||||
|
||||
Reference in New Issue
Block a user