website/content/posts/2023-03-05-combining-traditional-dotfiles-and-nixos-configurations-with-nix-flakes/assets/initial-flake.nix

27 lines
633 B
Nix
Raw Normal View History

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { nixpkgs, home-manager, ... }@inputs: {
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
modules = [
# The NixOS configuration.
./configuration.nix
];
};
homeConfigurations.foodogsquared = home-manager.lib.homeManagerConfiguration {
# The home-manager configuration.
modules = [ ./home.nix ];
};
};
}