don't pass around self needlessly

This commit is contained in:
Valentin Gagarin 2024-09-25 12:02:45 +02:00
parent f699c095da
commit 8236802a74
3 changed files with 6 additions and 6 deletions

View file

@ -91,8 +91,8 @@
nixpkgs.lib.mapAttrs (name: config: deployCommand name config) self.nixosConfigurations;
checks.${system} = {
mastodon-garage = import ./tests/mastodon-garage.nix { inherit pkgs self; };
pixelfed-garage = import ./tests/pixelfed-garage.nix { inherit pkgs self; };
mastodon-garage = import ./tests/mastodon-garage.nix { inherit pkgs; };
pixelfed-garage = import ./tests/pixelfed-garage.nix { inherit pkgs; };
};
devShells.${system}.default = pkgs.mkShell {

View file

@ -1,4 +1,4 @@
{ pkgs, self }:
{ pkgs }:
let
lib = pkgs.lib;
rebuildableTest = import ./rebuildableTest.nix pkgs;
@ -37,7 +37,7 @@ pkgs.nixosTest {
nodes = {
server = { config, ... }: {
virtualisation.memorySize = lib.mkVMOverride 4096;
imports = with self.nixosModules; [ mastodon-vm ];
imports = [ ./../vm/mastodon-vm.nix ];
# TODO: pair down
environment.systemPackages = with pkgs; [
python3

View file

@ -1,4 +1,4 @@
{ pkgs, self }:
{ pkgs }:
let
lib = pkgs.lib;
rebuildableTest = import ./rebuildableTest.nix pkgs;
@ -136,7 +136,7 @@ pkgs.nixosTest {
memorySize = lib.mkVMOverride 8192;
cores = 8;
};
imports = with self.nixosModules; [ pixelfed-vm ];
imports = [ ../../vm/pixelfed-vm.nix ];
# TODO: pair down
environment.systemPackages = with pkgs; [
python3