1
0
forked from extern/nix-config
donovanglover-nix-config/flake.nix
Donovan Glover 281a3a9198
Run nixfmt
2023-05-13 22:01:48 -04:00

26 lines
775 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland";
stylix.url = "github:danth/stylix";
stylix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, hyprland, stylix, ... }@attrs: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [
./configuration.nix
./home.nix
hyprland.nixosModules.default
{ programs.hyprland.enable = true; }
stylix.nixosModules.stylix
home-manager.nixosModules.home-manager
];
};
};
}