nixos-config/flake.nix

43 lines
961 B
Nix
Raw Normal View History

2023-10-08 11:42:08 +02:00
{
2025-05-18 08:49:34 +02:00
description = "MKK flake: NixOS and home manager configs";
2023-10-08 11:42:08 +02:00
inputs = {
nixpkgs = {
type = "github";
2024-03-11 16:19:31 +01:00
owner = "NixOS";
repo = "nixpkgs";
2023-10-08 11:42:08 +02:00
ref = "nixos-unstable";
};
2025-05-23 18:07:40 +02:00
nixpkgs-stable = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
2025-05-23 18:07:40 +02:00
ref = "nixos-25.05";
};
hm-stable = {
type = "github";
owner = "nix-community";
repo = "home-manager";
2025-05-23 18:07:40 +02:00
ref = "release-25.05";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
2025-05-18 08:49:34 +02:00
config-unstable = {
url = "path:./nix/subflake";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
config-stable = {
url = "path:./nix/subflake";
inputs = {
nixpkgs.follows = "nixpkgs-stable";
home-manager.follows = "hm-stable";
};
};
2023-10-08 11:42:08 +02:00
};
2025-05-18 08:49:34 +02:00
outputs = inputs: import (builtins.toString ./nix) { inherit inputs; configRootPath = (builtins.toString ./.); };
2023-10-08 11:42:08 +02:00
}