Merge pull request 'template: do not rely on flake registry for nixpkgs' (#246) from machines-import-fix into main
This commit is contained in:
@@ -3,15 +3,15 @@
|
|||||||
|
|
||||||
inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core";
|
inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core";
|
||||||
|
|
||||||
outputs = { clan-core, nixpkgs, ... }:
|
outputs = { self, clan-core, ... }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = clan-core.inputs.nixpkgs.legacyPackages.${system};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# all machines managed by cLAN
|
# all machines managed by cLAN
|
||||||
nixosConfigurations = clan-core.lib.buildClan {
|
nixosConfigurations = clan-core.lib.buildClan {
|
||||||
directory = ./.;
|
directory = self;
|
||||||
};
|
};
|
||||||
# add the cLAN cli tool to the dev shell
|
# add the cLAN cli tool to the dev shell
|
||||||
devShells.${system}.default = pkgs.mkShell {
|
devShells.${system}.default = pkgs.mkShell {
|
||||||
|
|||||||
Reference in New Issue
Block a user