From af598c8a77785b16f1cc4c22cf1c3c5e9677e02c Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Wed, 25 Dec 2024 15:54:25 -0500 Subject: [PATCH] add WCE-Overseer to flake --- flake.nix | 84 +++++++++++++++++++++++++------------------------------ 1 file changed, 38 insertions(+), 46 deletions(-) diff --git a/flake.nix b/flake.nix index a8c1235..23abe56 100644 --- a/flake.nix +++ b/flake.nix @@ -16,54 +16,46 @@ ... } @ inputs: { nixosConfigurations = { - Parzival = nixpkgs.lib.nixosSystem { - specialArgs = { - inherit inputs; - pkgs = import nixpkgs { - system = "x86_64-linux"; - config.allowUnfree = true; - }; - }; - modules = [ - ./hosts/Parzival - home-manager.nixosModules.home-manager - ]; + Parzival = nixpkgs.lib.nixosSystem { + specialArgs = { + inherit inputs; + pkgs = import nixpkgs { + system = "x86_64-linux"; + config.allowUnfree = true; + }; }; - Parzival-Mobile = nixpkgs.lib.nixosSystem { - specialArgs = { - inherit inputs; - pkgs = import nixpkgs { - system = "x86_64-linux"; - config.allowUnfree = true; - }; - }; - modules = [ - ./hosts/Parzival-Mobile - home-manager.nixosModules.home-manager - ]; + modules = [ + ./hosts/Parzival + home-manager.nixosModules.home-manager + ]; + }; + Parzival-Mobile = nixpkgs.lib.nixosSystem { + specialArgs = { + inherit inputs; + pkgs = import nixpkgs { + system = "x86_64-linux"; + config.allowUnfree = true; + }; }; + modules = [ + ./hosts/Parzival-Mobile + home-manager.nixosModules.home-manager + ]; + }; + WCE-Overseer = nixpkgs.lib.nixosSystem { + specialArgs = { + inherit inputs; + pkgs = import nixpkgs { + system = "x86_64-linux"; + config.allowUnfree = true; + }; + }; + modules = [ + ./hosts/WCE-Overseer + home-manager.nixosModules.home-manager + sops-nix.nixosModules.sops + ]; + }; }; }; - - #outputs = inputs: let - # system = "x86_64-linux"; - # inherit (inputs.nixpkgs) lib; - - # overlays = []; - - # pkgs = import inputs.nixpkgs { - # inherit system overlays; - # config.allowUnfree = true; - # config.android_sdk.accept_license = true; - # }; - - # ns = host: (lib.nixosSystem { - # specialArgs = {inherit pkgs inputs;}; - # modules = [ - # (./hosts + "/${host}") - # inputs.home-manager.nixosModules.home-manager - # inputs.sops-nix.nixosModules.sops - # ]; - # }); - #in {nixosConfigurations = lib.attrsets.genAttrs ["Parzival" "Parzival-Mobile" "WCE-Overseer"] ns;}; }