Flakes: Difference between revisions

Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
Line 106: Line 106:
Using curly brackets({}), we can shorten all of this and put it in a table. The code will look something like this:
Using curly brackets({}), we can shorten all of this and put it in a table. The code will look something like this:


<code>{
<code>inputs = {
  inputs = {
  nixpkgs.url = "nixpkgs/<branch name>";
    nixpkgs.url = "nixpkgs/<branch name>";
  hyprland = {
    hyprland = {
    url = "github:hyprwm/Hyprland";
      url = "github:hyprwm/Hyprland";
    inputs.nixpkgs.follows = "nixpkgs";
      inputs.nixpkgs.follows = "nixpkgs";
    };
   };
   };
}</code>
};</code>


=== Output schema ===
=== Output schema ===