nix: permissive defaults nixos test
All checks were successful
test / test (push) Successful in 37s

Adapted from nixos sway integration tests.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-12-16 22:56:10 +09:00
parent 4d3bd5338f
commit 3f993021f8
3 changed files with 218 additions and 4 deletions

View File

@@ -3,10 +3,19 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11-small";
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ self, nixpkgs }:
{
self,
nixpkgs,
home-manager,
}:
let
supportedSystems = [
"aarch64-linux"
@@ -27,6 +36,7 @@
inherit (pkgs)
runCommandLocal
callPackage
nixfmt-rfc-style
deadnix
statix
@@ -63,6 +73,8 @@
touch $out
'';
nixos-tests = callPackage ./test.nix { inherit self home-manager; };
}
);