forked from Fediversity/simple-nixos-fediverse
Cleanup dead code
This commit is contained in:
parent
7007da1775
commit
661f81b3f9
|
@ -1,5 +1,5 @@
|
||||||
{ writeShellApplication }:
|
{ writeShellApplication }:
|
||||||
name: config:
|
name: _config:
|
||||||
writeShellApplication {
|
writeShellApplication {
|
||||||
name = "deploy";
|
name = "deploy";
|
||||||
text = ''
|
text = ''
|
||||||
|
|
|
@ -8,7 +8,6 @@ in
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@ in
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
|
@ -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 ];
|
||||||
|
|
|
@ -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"
|
||||||
{
|
{
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ pkgs, modulesPath, ... }:
|
{ modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [ (modulesPath + "/virtualisation/qemu-vm.nix") ];
|
imports = [ (modulesPath + "/virtualisation/qemu-vm.nix") ];
|
||||||
|
|
|
@ -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") ];
|
||||||
|
|
||||||
|
|
Reference in a new issue