2024-11-03 18:28:10 +00:00
|
|
|
{
|
|
|
|
description = "Freya Nix Flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
# nixpkgs
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-24.05";
|
|
|
|
|
|
|
|
# home manager
|
|
|
|
home-manager.url = "github:nix-community/home-manager/release-24.05";
|
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
2024-11-09 23:16:54 +00:00
|
|
|
|
|
|
|
# nixgl
|
|
|
|
nixgl.url = "github:nix-community/nixGL/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a";
|
|
|
|
nixgl.inputs.nixpkgs.follows = "nixpkgs";
|
2024-11-03 18:28:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
home-manager,
|
2024-11-09 23:16:54 +00:00
|
|
|
nixgl,
|
2024-11-03 18:28:10 +00:00
|
|
|
...
|
|
|
|
} @ inputs: let
|
|
|
|
inherit (self) outputs;
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
2024-11-09 23:16:54 +00:00
|
|
|
overlays = [
|
|
|
|
nixgl.overlay
|
|
|
|
];
|
2024-11-03 18:28:10 +00:00
|
|
|
in {
|
|
|
|
homeConfigurations."freya" =
|
|
|
|
home-manager.lib.homeManagerConfiguration {
|
|
|
|
inherit pkgs;
|
|
|
|
extraSpecialArgs = {inherit inputs outputs;};
|
2024-11-09 23:16:54 +00:00
|
|
|
modules = [
|
|
|
|
{nixpkgs.overlays = overlays;}
|
|
|
|
./home.nix
|
|
|
|
{
|
|
|
|
_module.args = {
|
|
|
|
inherit nixgl;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
2024-11-03 18:28:10 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|