Added a nix flake for HM

This commit is contained in:
Emi Simpson 2023-02-27 17:34:58 -05:00
parent 3dd5c02fc0
commit 3310f3ef89
Signed by: Emi
GPG Key ID: A12F2C2FFDC3D847
1 changed files with 31 additions and 0 deletions

31
flake.nix Normal file
View File

@ -0,0 +1,31 @@
{
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 = [
./Nix-Configs/home.nogui.nix
];
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
};
};
}