nixconf/flake.nix

44 lines
962 B
Nix

{
description = "geekygay shared NixOS config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs: inputs.snowfall-lib.mkFlake {
inherit inputs;
snowfall.namespace = "geekygay";
channels-config.allowUnfree = true;
systems.modules.nixos = with inputs; [
home-manager.nixosModules.home-manager
disko.nixosModules.disko
];
templates.shim.description = "/etc/nixos shim for geekygay nixconf";
src = ./.;
};
}