diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -28,12 +28,19 @@ system = "x86_64-linux"; - pkgs = import nixpkgs { - inherit system; - }; - lib = nixpkgs.lib; + #pkgs = import nixpkgs { + # inherit system; + #}; + #lib = nixpkgs.lib; in { - #overlays = import ./overlays {inherit inputs;}; + # Your custom packages + # Acessible through 'nix build', 'nix shell', etc + packages = ( + let pkgs = nixpkgs.legacyPackages.${system}; + in import ./pkgs { inherit pkgs; }); + + # Your custom packages and modifications, exported as overlays + overlays = import ./overlays {inherit inputs;}; # NixOS configuration entrypoint # Available through 'nixos-rebuild --flake .#your-hostname' |