dotfiles/common/flake.nix
RingOfStorms (Joshua Bell) 49861c4c33 wip
2025-03-17 11:22:50 -05:00

44 lines
943 B
Nix

{
inputs = {
home-manager.url = "github:rycee/home-manager/release-24.11";
ragenix.url = "github:yaxitech/ragenix";
hyprland.url = "github:hyprwm/Hyprland";
cosmic.url = "github:lilyinstarlight/nixos-cosmic";
};
outputs =
{
...
}:
{
nixosModules = {
default =
{
config,
lib,
...
}:
let
ccfg = import ./config.nix;
cfg_path = "${ccfg.custom_config_key}";
cfg = config.${cfg_path};
in
{
imports = [
./boot
./users
./general
];
options.${cfg_path} = {
systemName = lib.mkOption {
type = lib.types.str;
description = "The name of the system.";
};
};
config = {
};
};
};
};
}