diff --git a/example/flake.nix b/example/flake.nix index f1ec9ae2..6ff48a72 100644 --- a/example/flake.nix +++ b/example/flake.nix @@ -7,7 +7,6 @@ outputs = { nix-config, ... }@attrs: - let inherit (nix-config.inputs) nixpkgs; inherit (nixpkgs.lib) nixosSystem optional; diff --git a/flake.nix b/flake.nix index a736b157..3a912550 100644 --- a/flake.nix +++ b/flake.nix @@ -24,14 +24,12 @@ outputs = { self, nixpkgs, ... }: - let inherit (nixpkgs.lib) nixosSystem genAttrs replaceStrings; inherit (nixpkgs.lib.filesystem) packagesFromDirectoryRecursive listFilesRecursive; forAllSystems = function: - genAttrs [ "x86_64-linux" "aarch64-linux" @@ -42,7 +40,6 @@ { packages = forAllSystems ( pkgs: - packagesFromDirectoryRecursive { inherit (pkgs) callPackage; @@ -62,10 +59,8 @@ checks = forAllSystems ( pkgs: - genAttrs (map nameOf (listFilesRecursive ./tests)) ( name: - import ./tests/${name}.nix { inherit self pkgs; } diff --git a/modules/containers.nix b/modules/containers.nix index 17d1d4b7..0ed5898d 100644 --- a/modules/containers.nix +++ b/modules/containers.nix @@ -58,7 +58,6 @@ in wine = template // { config = { nix-config, pkgs, ... }: - { imports = with nix-config.nixosModules; diff --git a/tests/neovim.nix b/tests/neovim.nix index 2cc76069..0ef61f76 100644 --- a/tests/neovim.nix +++ b/tests/neovim.nix @@ -7,7 +7,6 @@ self.inputs.nixpkgs.lib.nixos.runTest { nodes.machine = { nix-config, config, ... }: - { imports = with nix-config.nixosModules; [ shell