The last of my fucking around with Nix and Flakes prior to killing the nixos portion of my k8s project. This was just too hard to figure out, honestly. Docs around nixflakes suck. They appear to be the future! I believe the hype! But I can't figure out DICK ALL. Committing, will probably rip out once I'm fully over on PM.master
parent
7b38b89acb
commit
32eaca73d0
@ -0,0 +1,25 @@
|
||||
{
|
||||
description = "Hoyden's Flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url =
|
||||
"github:nixos/nixpkgs/nixos-22.05"; # change this to your desired NixOS version
|
||||
# For accessing `deploy-rs`'s utility Nix functions
|
||||
deploy-rs.url = "github:serokell/deploy-rs";
|
||||
unstableTarball = fetchTarball
|
||||
"https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, unstableTarball }@attrs: {
|
||||
nixosConfigurations.hoyden = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = attrs;
|
||||
modules = [ ./configuration.nix ];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in new issue