dotfiles/_ubuntu/flake.nix

29 lines
773 B
Nix
Raw Normal View History

2023-01-02 05:38:18 +00:00
{
description = "Tyrel Nix";
inputs = {
2023-01-02 06:35:11 +00:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2023-01-02 05:38:18 +00:00
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
darwin.url = "github:lnl7/nix";
darwin.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, darwin }: {
2023-01-02 06:35:11 +00:00
defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
2023-01-02 05:38:18 +00:00
homeConfigurations = {
"tyrel" = home-manager.lib.homeManagerConfiguration {
system = "x86_64";
homeDirectory = "/home/tyrel";
username = "tyrel";
configuration.imports = [
2023-01-02 06:35:11 +00:00
../hosts/blackbox-jr/default.nix
../hosts/blackbox-jr/home-manager.nix
2023-01-02 05:38:18 +00:00
];
};
};
};
}