dotfiles-guix/home/nix/flake.nix
Freya Murphy 121f92e0e2
Some checks failed
installer / build (push) Has been cancelled
update commits
2025-01-02 21:48:08 -05:00

46 lines
1.1 KiB
Nix

{
description = "Freya Nix Flake";
inputs = {
# nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4";
# home manager
home-manager.url = "github:nix-community/home-manager/5f6aa268e419d053c3d5025da740e390b12ac936";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
# nixgl
nixgl.url = "github:nix-community/nixGL/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a";
nixgl.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {
self,
nixpkgs,
home-manager,
nixgl,
...
} @ inputs: let
inherit (self) outputs;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
overlays = [
nixgl.overlay
];
in {
homeConfigurations."freya" =
home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {inherit inputs outputs;};
modules = [
{nixpkgs.overlays = overlays;}
./home.nix
{
_module.args = {
inherit nixgl;
};
}
];
};
};
}