cleanup: dead-nix
This commit is contained in:
parent
7a5885fc22
commit
6055c9e63a
@ -43,7 +43,7 @@
|
||||
modules = [
|
||||
./hosts/workstation/configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
({ pkgs, ... }: { nixpkgs.overlays = overlays; })
|
||||
({ ... }: { nixpkgs.overlays = overlays; })
|
||||
];
|
||||
};
|
||||
miniserver = lib.nixosSystem {
|
||||
@ -52,7 +52,7 @@
|
||||
modules = [
|
||||
./hosts/miniserver/configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
({ pkgs, ... }: { nixpkgs.overlays = overlays; })
|
||||
({ ... }: { nixpkgs.overlays = overlays; })
|
||||
];
|
||||
};
|
||||
server = lib.nixosSystem {
|
||||
@ -61,7 +61,7 @@
|
||||
modules = [
|
||||
./hosts/server/configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
({ pkgs, ... }: { nixpkgs.overlays = overlays; })
|
||||
({ ... }: { nixpkgs.overlays = overlays; })
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{ pkgs, config, lib, ... }: {
|
||||
{ pkgs, config, ... }: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../base.nix
|
||||
|
||||
@ -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
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{ pkgs, pkgsU, pkgsM, pkgsJ }:
|
||||
self: super: {
|
||||
gnome = super.gnome.overrideScope (gFinal: gPrev: {
|
||||
_self: super: {
|
||||
gnome = super.gnome.overrideScope (_gFinal: gPrev: {
|
||||
nautilus = gPrev.nautilus.overrideAttrs (nsuper: {
|
||||
buildInputs = nsuper.buildInputs ++ (with pkgs.gst_all_1; [
|
||||
gst-libav
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests, installShellFiles }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "shiori";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user