nixos-configuration/flake.nix

29 lines
872 B
Nix
Raw Normal View History

2023-06-25 02:51:00 +00:00
{
description = "Jessica Phoenix Canady: The NixOS Configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixos-hardware.url = "github:NixOS/nixos-hardware";
home-manager.url = "github:nix-community/home-manager/release-23.05";
2023-06-25 15:00:03 +00:00
stylix.url = "github:danth/stylix";
2023-06-25 02:51:00 +00:00
};
2023-06-25 15:00:03 +00:00
outputs = { self, nixpkgs, nix, nixos-hardware, home-manager, stylix }: {
2023-06-25 02:51:00 +00:00
nixosConfigurations = {
hornt = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2023-06-25 03:32:44 +00:00
2023-06-25 02:51:00 +00:00
modules = [
2023-06-25 02:55:59 +00:00
nixos-hardware.nixosModules.framework-12th-gen-intel
2023-06-25 02:51:00 +00:00
./hosts/hornt.nix
./users/phoenix/user.nix
home-manager.nixosModules.home-manager {
home-manager.useUserPackages = true;
2023-06-25 03:09:17 +00:00
home-manager.users.phoenix = import ./users/phoenix/hm.nix;
2023-06-25 02:51:00 +00:00
}
];
};
};
};
2023-06-25 03:09:17 +00:00
}