Bailey
aac34435f9
flake-utils-plus input is overidden with latest upstream version due to https://github.com/snowfallorg/lib/issues/76 which has been fixed in https://github.com/gytis-ivaskevicius/flake-utils-plus/pull/146 but hasn't been pulled into snowfall according to https://github.com/snowfallorg/lib/issues/80 I'm probably just going submit a PR to snowfall that does the `nix flake update` on their end so I can stop doing these messy workarounds.
44 lines
1,001 B
Nix
44 lines
1,001 B
Nix
{
|
|
description = "mtxyz's NixOS systems";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
# Used in bodge overlay when an unstable package isn't working.
|
|
stable.url = "github:nixos/nixpkgs/nixos-23.11";
|
|
|
|
nur.url = "github:nix-community/NUR";
|
|
|
|
snowfall-lib = {
|
|
url = "github:snowfallorg/lib";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.flake-utils-plus.url = "github:gytis-ivaskevicius/flake-utils-plus?ref=master";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = inputs: inputs.snowfall-lib.mkFlake {
|
|
inherit inputs;
|
|
|
|
snowfall.namespace = "mtxyz";
|
|
channels-config.allowUnfree = true;
|
|
|
|
|
|
overlays = with inputs; [
|
|
nur.overlay
|
|
];
|
|
|
|
systems.modules.nixos = with inputs; [
|
|
home-manager.nixosModules.home-manager
|
|
];
|
|
|
|
templates.shim.description = "/etc/nixos shim for mtxyz's nixconf";
|
|
|
|
src = ./.;
|
|
};
|
|
}
|