nixos-config/flake.nix

46 lines
965 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-18 08:49:34 +02:00
nixpkgs-stable = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
2024-12-05 23:50:27 +01:00
ref = "nixos-24.11";
};
hm-stable = {
type = "github";
owner = "nix-community";
repo = "home-manager";
2024-12-05 23:50:27 +01:00
ref = "release-24.11";
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
}