mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-09 04:01:15 +00:00
31 lines
780 B
Nix
31 lines
780 B
Nix
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
#nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
# { self, nixpkgs, nixos-hardware, ... }@inputs:
|
|
{ self, nixpkgs, ... }@inputs:
|
|
{
|
|
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
modules = [
|
|
./hosts/cap-slim7/configuration.nix
|
|
./modules/nixos/hyprland-amd.nix
|
|
inputs.home-manager.nixosModules.default
|
|
# nixos-hardware.nixosModules.lenovo-legion-16arha7
|
|
];
|
|
};
|
|
};
|
|
}
|