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:46:10 +00:00
|
|
|
outputs = { nixpkgs, home-manager, ... }@attrs: {
|
2023-06-16 23:08:03 +00:00
|
|
|
nixosConfigurations.nixos76 = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2023-06-16 23:14:12 +00:00
|
|
|
specialArgs = attrs;
|
2023-06-16 23:46:10 +00:00
|
|
|
modules = [
|
|
|
|
./configuration.nix
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.alex = import ./home.nix;
|
|
|
|
|
|
|
|
# Optionally, use home-manager.extraSpecialArgs to pass
|
|
|
|
# arguments to home.nix
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
;
|
2023-06-16 23:08:03 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|