nixconf/flake.nix

41 lines
835 B
Nix
Raw Normal View History

2023-12-01 08:17:15 +00:00
{
2024-01-15 22:30:41 +00:00
description = "mtxyz's NixOS systems";
2023-12-01 08:17:15 +00:00
inputs = {
2024-01-15 22:30:41 +00:00
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";
2024-01-18 02:40:13 +00:00
nur.url = "github:nix-community/NUR";
2023-12-01 08:17:15 +00:00
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-01-18 02:40:13 +00:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-12-01 08:17:15 +00:00
};
2024-01-18 02:40:13 +00:00
outputs = inputs: inputs.snowfall-lib.mkFlake {
inherit inputs;
2023-12-01 08:17:15 +00:00
2024-01-18 02:40:13 +00:00
snowfall.namespace = "mtxyz";
channels-config.allowUnfree = true;
overlays = with inputs; [
nur.overlay
];
systems.modules.nixos = with inputs; [
home-manager.nixosModules.home-manager
];
src = ./.;
};
2023-12-01 08:17:15 +00:00
}