nixos-config/flake.nix

28 lines
747 B
Nix
Raw Normal View History

2023-06-16 23:08:03 +00:00
{
2023-06-16 23:14:12 +00:00
description = "Alex's super mega awesome nixos config";
2023-06-16 23:08:03 +00:00
2023-06-16 23:46:10 +00:00
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-23.05;
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
2023-06-16 23:14:12 +00:00
2023-06-16 23:56:23 +00:00
outputs = inputs@{ nixpkgs, home-manager, ... }: {
2023-06-16 23:08:03 +00:00
nixosConfigurations.nixos76 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2023-06-16 23:46:10 +00:00
modules = [
./configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
# Optionally, use home-manager.extraSpecialArgs to pass
# arguments to home.nix
}
]
;
2023-06-16 23:08:03 +00:00
};
};
}