DeterminateSystems / nix

Tracks the fallback paths for Nix, to allow upgrades on our schedule.

Home Page:https://nixos.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Determinate Nix

Install and manage Determinate Nix.

NixOS

{
  inputs.nix.url = "https://flakehub.com/f/DeterminateSystems/nix/2.0";

  outputs = { ... }: @ inputs {
    nixosConfigurations.default = nix-darwin.lib.darwinSystem {
      modules = [
        ({ pkgs, ... }: {
          imports = [
            inputs.nix.nixosModules.default
          ];
          /* ... rest of your configuration */
        })
      ];
    };
  };
}

nix-darwin

{
  inputs.nix.url = "https://flakehub.com/f/DeterminateSystems/nix/2.0";

  outputs = { ... }: @ inputs {
    darwinConfigurations.aarch64-linux.default = nix-darwin.lib.darwinSystem {
      modules = [
        ({ pkgs, ... }: {
          imports = [
            inputs.nix.darwinModules.default
          ];
          /* ... rest of your configuration */
        })
      ];
    };
  };
}

Home Manager

{
  inputs.nix.url = "https://flakehub.com/f/DeterminateSystems/nix/2.0";

  outputs = { nixpkgs, home-manager, ... } @ inputs:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
    in {
      homeConfigurations.jdoe = home-manager.lib.homeManagerConfiguration {
        inherit pkgs;

        modules = [
          inputs.nix.homeManagerModules.default
        ];
      };
    }
}

About

Tracks the fallback paths for Nix, to allow upgrades on our schedule.

https://nixos.org/

License:GNU Lesser General Public License v2.1


Languages

Language:Nix 100.0%