Skip to content

Instantly share code, notes, and snippets.

@pokon548
Created March 10, 2024 14:27
Show Gist options
  • Save pokon548/834f3fc1148af3f20a96e9b280d38fdc to your computer and use it in GitHub Desktop.
Save pokon548/834f3fc1148af3f20a96e9b280d38fdc to your computer and use it in GitHub Desktop.
Assertions not exists? flake.nix
{
description = "Description for the project";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
sops-nix.url = "github:Mic92/sops-nix";
};
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = (with inputs; [
sops-nix.nixosModules.sops
]);
systems = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ];
perSystem = { config, self', inputs', pkgs, system, ... }: { };
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment