From 352a3dbbd8721c81e59d4a4988457624aaaa565d Mon Sep 17 00:00:00 2001 From: lulusilly Date: Sun, 31 Aug 2025 23:46:00 -0400 Subject: [PATCH] Working out kinks in modified flake --- .config/nixos/flake.nix | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/.config/nixos/flake.nix b/.config/nixos/flake.nix index 5a35006..cc0bd76 100755 --- a/.config/nixos/flake.nix +++ b/.config/nixos/flake.nix @@ -17,12 +17,42 @@ inherit system; specialArgs = { inherit inputs; }; modules = [ - ./common.nix + # ./common.nix ./${hostname}/configuration.nix - ./${hostname}/hardware-configuration.nix + # ./${hostname}/hardware-configuration.nix inputs.stylix.nixosModules.stylix ]; }; }; }; } + +/* +{ + description = "System flake"; + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + stylix.url = "github:danth/stylix"; + stylix.inputs.nixpkgs.follows = "nixpkgs"; + }; + outputs = { self, nixpkgs, ... }@inputs: { + nixosConfigurations = { + mecca = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = {inherit inputs;}; modules = [ + ./laptop/mecca/configuration.nix + inputs.stylix.nixosModules.stylix + ]; + }; + syntheticnexus = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = {inherit inputs;}; + modules = [ + ./laptop/syntheticnexus/configuration.nix + inputs.stylix.nixosModules.stylix + ]; + }; + }; + }; +} +*/