nixconf/flake.nix

44 lines
1,001 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";
inputs.flake-utils-plus.url = "github:gytis-ivaskevicius/flake-utils-plus?ref=master";
2023-12-01 08:17:15 +00:00
};
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
];
2024-02-27 23:34:48 +00:00
templates.shim.description = "/etc/nixos shim for mtxyz's nixconf";
2024-01-18 02:40:13 +00:00
src = ./.;
};
2023-12-01 08:17:15 +00:00
}