From c43e2c7e6d27c5680644e45ceb736f996b5ce43e Mon Sep 17 00:00:00 2001 From: Jessica Canady Date: Sat, 24 Jun 2023 22:51:00 -0400 Subject: [PATCH] Add a flake.nix that won't work yet. --- flake.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 flake.nix 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