commit 2f64183c6ce53fc0a903ee3cf43074751ebac529 Author: logical_code Date: Sun Jul 6 22:13:28 2025 -0400 Add flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..cbccbd1 --- /dev/null +++ b/flake.nix @@ -0,0 +1,25 @@ +{ + description = "My Shit Ass Nix Build"; + + outputs = inputs @ { + self, + nixpkgs, + ... + }: rec { + # The output for your laptop build + nixosConfigurations = { + laptop = nixpkgs.lib.nixosSystem { + specialArgs = {inherit self inputs;}; + modules = [ + ./hosts/laptop #individual config + ./modules/nixos #share configs + ]; + }; + }; + }; + + # Flake inputs, think of it as external repos + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + }; +} \ No newline at end of file