Nix-Configs/flake.nix

31 lines
826 B
Nix
Raw Normal View History

2023-02-27 22:34:58 +00:00
{
description = "Emi's Home Manager configuration";
inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
home-manager = {
url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
homeConfigurations.ember = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [
2023-02-28 23:46:05 +00:00
./home.nogui.nix
2023-02-27 22:34:58 +00:00
];
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
};
};
}