diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d3d9f2a --- /dev/null +++ b/flake.nix @@ -0,0 +1,26 @@ +{ + 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"; + }; + + outputs = { self, nixpkgs, nix, nixos-hardware, home-manager }: { + nixosConfigurations = { + hornt = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + nixos-hardware.nixosModules.lenovo-thinkpad-p52 + ./hosts/hornt.nix + ./users/phoenix/user.nix + home-manager.nixosModules.home-manager { + home-manager.useUserPackages = true; + home-manager.users.chrism = import ./users/phoenix/hm.nix; + } + ]; + }; + }; + }; +} \ No newline at end of file