31 lines
671 B
Nix
31 lines
671 B
Nix
|
{
|
||
|
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";
|
||
|
};
|
||
|
|
||
|
outputs = {
|
||
|
self,
|
||
|
nixpkgs,
|
||
|
home-manager,
|
||
|
...
|
||
|
} @ inputs: let
|
||
|
inherit (self) outputs;
|
||
|
system = "x86_64-linux";
|
||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||
|
in {
|
||
|
homeConfigurations."freya" =
|
||
|
home-manager.lib.homeManagerConfiguration {
|
||
|
inherit pkgs;
|
||
|
extraSpecialArgs = {inherit inputs outputs;};
|
||
|
modules = [./home.nix];
|
||
|
};
|
||
|
};
|
||
|
}
|