1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00

Migrate NixOS modules to flake-parts

This commit is contained in:
Zhaofeng Li 2024-08-30 12:32:10 -04:00
parent 8dc0bdbf7f
commit 3ecea8d07f
2 changed files with 16 additions and 13 deletions

View file

@ -87,19 +87,6 @@
stableTests = lib.mapAttrs' (name: lib.nameValuePair "stable-${name}") (makeIntegrationTests pkgsStable);
in lib.optionalAttrs pkgs.stdenv.isLinux (unstableTests // stableTests);
}) // {
nixosModules = {
atticd = {
imports = [
./nixos/atticd.nix
];
services.atticd.useFlakeCompatOverlay = false;
nixpkgs.overlays = [
self.overlays.default
];
};
};
};
};
}

16
flake/nixos.nix Normal file
View file

@ -0,0 +1,16 @@
{ config, ... }:
{
flake.nixosModules = {
atticd = {
imports = [
../nixos/atticd.nix
];
services.atticd.useFlakeCompatOverlay = false;
nixpkgs.overlays = [
config.flake.overlays.default
];
};
};
}