This commit is contained in:
Tyrel Souza 2023-01-01 15:49:20 -05:00
parent f0209da5e1
commit 84ecfa7ffb
2 changed files with 26 additions and 0 deletions

23
flake.nix Normal file
View File

@ -0,0 +1,23 @@
{
description = "My Home Manager flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs: {
defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
defaultPackage.x86_64-darwin = home-manager.defaultPackage.x86_64-darwin;
homeConfigurations = {
"tyrel" = inputs.home-manager.lib.homeManagerConfiguration {
system = "x86_64-darwin";
homeDirectory = "/Users/tyrel";
username = "tyrel";
configuration.imports = [ ./home.nix ];
};
};
};
}

3
home.nix Normal file
View File

@ -0,0 +1,3 @@
{ ... }: {
programs.home-manager.enable = true;
}