2023-08-05 18:44:35 -07:00
|
|
|
{
|
|
|
|
description = "System Configuration Flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs = {
|
2023-08-05 21:03:24 -07:00
|
|
|
url = "github:NixOS/nixpkgs/nixos-unstable";
|
2023-08-05 18:44:35 -07:00
|
|
|
};
|
2023-08-05 21:03:24 -07:00
|
|
|
|
2023-08-06 09:25:52 -07:00
|
|
|
home-manager = {
|
2023-08-05 21:03:24 -07:00
|
|
|
url = "github:nix-community/home-manager/master";
|
2023-08-06 09:25:52 -07:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2023-08-05 21:03:24 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
2023-08-05 18:44:35 -07:00
|
|
|
};
|
|
|
|
|
2023-08-05 21:03:24 -07:00
|
|
|
outputs = {
|
|
|
|
nixpkgs,
|
2023-08-06 09:25:52 -07:00
|
|
|
home-manager,
|
|
|
|
hyprland,
|
|
|
|
...
|
2023-08-06 09:57:34 -07:00
|
|
|
} @inputs : {
|
2023-08-05 18:44:35 -07:00
|
|
|
|
2023-08-06 09:57:34 -07:00
|
|
|
system = "x86_64-linux";
|
2023-08-06 09:25:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
#config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
|
2023-08-06 09:57:34 -07:00
|
|
|
stitchynyan = nixpkgs.lib.nixosSystem {
|
|
|
|
modules = [
|
2023-08-06 09:25:52 -07:00
|
|
|
|
2023-08-06 09:57:34 -07:00
|
|
|
./configuration.nix
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
|
|
|
|
{
|
|
|
|
_module.args = {inherit inputs;};
|
|
|
|
home-manager.extraSpecialArgs = {inherit inputs;};
|
|
|
|
}
|
|
|
|
];
|
2023-08-06 09:25:52 -07:00
|
|
|
};
|
2023-08-05 18:44:35 -07:00
|
|
|
};
|
|
|
|
}
|