Merge pull request 'template: do not rely on flake registry for nixpkgs' (#246) from machines-import-fix into main

This commit is contained in:
clan-bot
2023-09-03 13:37:31 +00:00

View File

@@ -3,15 +3,15 @@
inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core";
outputs = { clan-core, nixpkgs, ... }:
outputs = { self, clan-core, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.x86_64-linux;
pkgs = clan-core.inputs.nixpkgs.legacyPackages.${system};
in
{
# all machines managed by cLAN
nixosConfigurations = clan-core.lib.buildClan {
directory = ./.;
directory = self;
};
# add the cLAN cli tool to the dev shell
devShells.${system}.default = pkgs.mkShell {