dotfiles/flake.nix

50 lines
1 KiB
Nix
Raw Normal View History

2023-08-05 18:44:35 -07:00
{
description = "System Configuration Flake";
2024-01-20 17:53:24 -08:00
outputs = inputs@{
nixpkgs,
home-manager,
hyprland,
eww,
osu-nixos,
...
} : {
nixosConfigurations = {
lappy = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./configuration.nix
./hosts/lappy/default.nix
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = {inherit inputs;};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.stitchynyan = import ./users/stitchynyan/home.nix;
}
];
};
};
};
2023-08-05 18:44:35 -07:00
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";
2024-01-20 17:53:24 -08:00
eww.url = "github:elkowar/eww";
osu-nixos.url = "github:Asqiir/osu-nixos";
2023-08-05 18:44:35 -07:00
};
}