diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-12-16 22:56:10 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-12-16 22:56:10 +0900 |
| commit | 3f993021f8499767e49a4cad92f82b408fac6e8b (patch) | |
| tree | c43d6e604dcb4adc3359f8ef286a6b6519219636 /flake.nix | |
| parent | 4d3bd5338fe9e959a5861f740bd92a34b355feb3 (diff) | |
nix: permissive defaults nixos test
Adapted from nixos sway integration tests.
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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; }; } ); |
