cleanup: dead-nix
This commit is contained in:
parent
7a5885fc22
commit
6055c9e63a
@ -43,7 +43,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./hosts/workstation/configuration.nix
|
./hosts/workstation/configuration.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
({ pkgs, ... }: { nixpkgs.overlays = overlays; })
|
({ ... }: { nixpkgs.overlays = overlays; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
miniserver = lib.nixosSystem {
|
miniserver = lib.nixosSystem {
|
||||||
@ -52,7 +52,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./hosts/miniserver/configuration.nix
|
./hosts/miniserver/configuration.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
({ pkgs, ... }: { nixpkgs.overlays = overlays; })
|
({ ... }: { nixpkgs.overlays = overlays; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
server = lib.nixosSystem {
|
server = lib.nixosSystem {
|
||||||
@ -61,7 +61,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./hosts/server/configuration.nix
|
./hosts/server/configuration.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
({ pkgs, ... }: { nixpkgs.overlays = overlays; })
|
({ ... }: { nixpkgs.overlays = overlays; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{ pkgs, config, lib, ... }: {
|
{ pkgs, config, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../base.nix
|
../../base.nix
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf (lib.any (s: s.enable) (lib.attrValues config.my.scripts)) {
|
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)
|
lib.optional (script.enable && script.install) script.package)
|
||||||
config.my.scripts);
|
config.my.scripts);
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
upgrade-pg-cluster =
|
upgrade-pg-cluster =
|
||||||
let newPostgres = pkgs.postgresql_16.withPackages (pp: [ ]);
|
let newPostgres = pkgs.postgresql_16.withPackages (_pp: [ ]);
|
||||||
in pkgs.writeScriptBin "upgrade-pg-cluster" ''
|
in pkgs.writeScriptBin "upgrade-pg-cluster" ''
|
||||||
set -eux
|
set -eux
|
||||||
systemctl stop postgresql
|
systemctl stop postgresql
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{ pkgs, pkgsU, pkgsM, pkgsJ }:
|
{ pkgs, pkgsU, pkgsM, pkgsJ }:
|
||||||
self: super: {
|
_self: super: {
|
||||||
gnome = super.gnome.overrideScope (gFinal: gPrev: {
|
gnome = super.gnome.overrideScope (_gFinal: gPrev: {
|
||||||
nautilus = gPrev.nautilus.overrideAttrs (nsuper: {
|
nautilus = gPrev.nautilus.overrideAttrs (nsuper: {
|
||||||
buildInputs = nsuper.buildInputs ++ (with pkgs.gst_all_1; [
|
buildInputs = nsuper.buildInputs ++ (with pkgs.gst_all_1; [
|
||||||
gst-libav
|
gst-libav
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests, installShellFiles }:
|
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "shiori";
|
pname = "shiori";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user