Cleanup dead code

This commit is contained in:
Nicolas Jeannerod 2024-11-11 17:28:35 +01:00
parent 7007da1775
commit 661f81b3f9
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8
8 changed files with 12 additions and 8 deletions

View file

@ -1,5 +1,5 @@
{ writeShellApplication }: { writeShellApplication }:
name: config: name: _config:
writeShellApplication { writeShellApplication {
name = "deploy"; name = "deploy";
text = '' text = ''

View file

@ -8,7 +8,6 @@ in
{ {
config, config,
lib, lib,
pkgs,
... ...
}: }:

View file

@ -8,7 +8,6 @@ in
{ {
config, config,
lib, lib,
pkgs,
... ...
}: }:

View file

@ -23,7 +23,7 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
pkgsLatest = nixpkgs-latest.legacyPackages.${system}; pkgsLatest = nixpkgs-latest.legacyPackages.${system};
bleedingFediverseOverlay = ( bleedingFediverseOverlay = (
self: super: { _: _: {
pixelfed = pkgsLatest.pixelfed.overrideAttrs (old: { pixelfed = pkgsLatest.pixelfed.overrideAttrs (old: {
src = pixelfed; src = pixelfed;
patches = (old.patches or [ ]) ++ [ ./fediversity/pixelfed-group-permissions.patch ]; patches = (old.patches or [ ]) ++ [ ./fediversity/pixelfed-group-permissions.patch ];

View file

@ -1,7 +1,10 @@
{ pkgs, self }: { pkgs, self }:
let let
lib = pkgs.lib; lib = pkgs.lib;
rebuildableTest = import ./rebuildableTest.nix pkgs;
## FIXME: this binding was not used, but maybe we want a side-effect or something?
# rebuildableTest = import ./rebuildableTest.nix pkgs;
seleniumScript = seleniumScript =
pkgs.writers.writePython3Bin "selenium-script" pkgs.writers.writePython3Bin "selenium-script"
{ {

View file

@ -1,7 +1,9 @@
{ pkgs, self }: { pkgs, self }:
let let
lib = pkgs.lib; lib = pkgs.lib;
rebuildableTest = import ./rebuildableTest.nix pkgs;
## FIXME: this binding was not used but maybe we want a side effect or something?
# rebuildableTest = import ./rebuildableTest.nix pkgs;
email = "test@test.com"; email = "test@test.com";
password = "testtest"; password = "testtest";

View file

@ -1,4 +1,5 @@
{ pkgs, modulesPath, ... }: { modulesPath, ... }:
{ {
imports = [ (modulesPath + "/virtualisation/qemu-vm.nix") ]; imports = [ (modulesPath + "/virtualisation/qemu-vm.nix") ];

View file

@ -1,5 +1,4 @@
{ {
pkgs,
lib, lib,
modulesPath, modulesPath,
... ...
@ -9,6 +8,7 @@ let
inherit (lib) mkVMOverride; inherit (lib) mkVMOverride;
in in
{ {
imports = [ (modulesPath + "/virtualisation/qemu-vm.nix") ]; imports = [ (modulesPath + "/virtualisation/qemu-vm.nix") ];