dotfiles/flake.nix
2025-01-11 22:07:56 +01:00

44 lines
917 B
Nix

{
description = "real";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, ... } @ inputs: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
in {
nixosConfigurations.shibazaki = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs pkgs; };
modules = [
./users/shibazaki/configuration.nix
inputs.stylix.nixosModules.stylix
];
};
};
}