nix
This commit is contained in:
parent
f0209da5e1
commit
84ecfa7ffb
23
flake.nix
Normal file
23
flake.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user