Skip to content

Instantly share code, notes, and snippets.

@InfiniteCoder01
Last active August 23, 2024 08:41

Revisions

  1. InfiniteCoder01 revised this gist Aug 23, 2024. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions flake.nix
    Original file line number Diff line number Diff line change
    @@ -14,6 +14,7 @@
    hello
    ];
    };
    formatter = pkgs.nixpkgs-fmt;
    }
    );
    }
  2. InfiniteCoder01 revised this gist Aug 4, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion flake.nix
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@
    outputs = { self, nixpkgs, flake-utils }:
    flake-utils.lib.eachDefaultSystem
    (system: let
    pkgs = nixpkgs.legacyPackages.${system};
    pkgs = (import nixpkgs { inherit system; });
    in
    {
    devShell = pkgs.mkShell {
  3. InfiniteCoder01 revised this gist Nov 4, 2023. 1 changed file with 2 additions and 8 deletions.
    10 changes: 2 additions & 8 deletions flake.nix
    Original file line number Diff line number Diff line change
    @@ -1,23 +1,17 @@
    {
    description = "my nixops & ansible configruation";

    inputs = {
    flake-utils.url = "github:numtide/flake-utils";
    hello.url = "github:ihsanturk/hello-world-nix?rev=03ec3abd2def85a97425660a96aa31565cc77821";
    nixops-flake.url = "github:input-output-hk/nixops-flake";
    };

    outputs = { self, nixpkgs, flake-utils, hello, nixops-flake }:
    outputs = { self, nixpkgs, flake-utils }:
    flake-utils.lib.eachDefaultSystem
    (system: let
    pkgs = nixpkgs.legacyPackages.${system};
    in
    {
    devShell = pkgs.mkShell {
    buildInputs = with pkgs; [
    ansible
    hello.defaultPackage.${system}
    nixops-flake.defaultPackage.${system}
    hello
    ];
    };
    }
  4. InfiniteCoder01 created this gist Nov 4, 2023.
    25 changes: 25 additions & 0 deletions flake.nix
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    {
    description = "my nixops & ansible configruation";

    inputs = {
    flake-utils.url = "github:numtide/flake-utils";
    hello.url = "github:ihsanturk/hello-world-nix?rev=03ec3abd2def85a97425660a96aa31565cc77821";
    nixops-flake.url = "github:input-output-hk/nixops-flake";
    };

    outputs = { self, nixpkgs, flake-utils, hello, nixops-flake }:
    flake-utils.lib.eachDefaultSystem
    (system: let
    pkgs = nixpkgs.legacyPackages.${system};
    in
    {
    devShell = pkgs.mkShell {
    buildInputs = with pkgs; [
    ansible
    hello.defaultPackage.${system}
    nixops-flake.defaultPackage.${system}
    ];
    };
    }
    );
    }