Add ansible and playbook to trigger upgrade
This commit is contained in:
19
flake.nix
19
flake.nix
@@ -32,6 +32,14 @@
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
allSystems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
forAllSystems =
|
||||
f: nixpkgs.lib.genAttrs allSystems (system: f { pkgs = import nixpkgs { inherit system; }; });
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
@@ -297,5 +305,16 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
devShells = forAllSystems (
|
||||
{ pkgs }:
|
||||
{
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
ansible
|
||||
python3
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user