diff options
author | Rory& <root@rory.gay> | 2024-07-04 14:59:36 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-07-04 14:59:36 +0200 |
commit | dd7b872694441a96b8b042ccbc4b63a96d0b89b9 (patch) | |
tree | 76a25875e08415c38cdb7b5ad8f93241b387d078 /flake.nix | |
parent | Update flake inputs (diff) | |
download | Rory-Open-Architecture-dd7b872694441a96b8b042ccbc4b63a96d0b89b9.tar.xz |
Nixfmt
Diffstat (limited to 'flake.nix')
-rwxr-xr-x | flake.nix | 204 |
1 files changed, 106 insertions, 98 deletions
diff --git a/flake.nix b/flake.nix index 0f2e89a..f72ff9c 100755 --- a/flake.nix +++ b/flake.nix @@ -45,115 +45,123 @@ }; }; - outputs = inputs: with inputs; { - nixosConfigurations = { - #NIXPKGS FORK - Rory-nginx = nixpkgs-rory.lib.nixosSystem { - system = "x86_64-linux"; - modules = [ - ./host/Rory-nginx/configuration.nix - ./hardware-configuration.nix - home-manager.nixosModules.home-manager - grapevine.nixosModules.default - ]; - specialArgs = { - inherit botcore-v4; - inherit home-manager; - inherit grapevine; - inherit conduit; - #inherit conduwuit; + outputs = + inputs: with inputs; { + nixosConfigurations = { + #NIXPKGS FORK + Rory-nginx = nixpkgs-rory.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./host/Rory-nginx/configuration.nix + ./hardware-configuration.nix + home-manager.nixosModules.home-manager + grapevine.nixosModules.default + ]; + specialArgs = { + inherit botcore-v4; + inherit home-manager; + inherit grapevine; + inherit conduit; + #inherit conduwuit; + }; }; - }; - #UNSTABLE - Rory-devenv = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - modules = [ - ./host/Rory-devenv/configuration.nix - ./hardware-configuration.nix - home-manager.nixosModules.home-manager - ]; - specialArgs = { - inherit home-manager; + #UNSTABLE + Rory-devenv = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./host/Rory-devenv/configuration.nix + ./hardware-configuration.nix + home-manager.nixosModules.home-manager + ]; + specialArgs = { + inherit home-manager; + }; }; - }; - Rory-desktop = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - modules = [ - ./host/Rory-desktop/configuration.nix - ./hardware-configuration.nix - home-manager.nixosModules.home-manager - sops-nix.nixosModules.sops - ({...}: { - nix = { - registry.nixpkgs.flake = nixpkgs; - nixPath = [ - "nixpkgs=${nixpkgs.outPath}" - ]; - }; - }) - ]; - specialArgs = { - inherit home-manager; - inherit (inputs) mtxclientSrc; - inherit (inputs) nhekoSrc; + Rory-desktop = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./host/Rory-desktop/configuration.nix + ./hardware-configuration.nix + home-manager.nixosModules.home-manager + sops-nix.nixosModules.sops + ( + { ... }: + { + nix = { + registry.nixpkgs.flake = nixpkgs; + nixPath = [ "nixpkgs=${nixpkgs.outPath}" ]; + }; + } + ) + ]; + specialArgs = { + inherit home-manager; + inherit (inputs) mtxclientSrc; + inherit (inputs) nhekoSrc; + }; }; - }; - Rory-portable = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - modules = [ - ./host/Rory-portable/configuration.nix - ./hardware-configuration.nix - home-manager.nixosModules.home-manager - ({...}: { - nix = { - registry.nixpkgs.flake = nixpkgs; - nixPath = [ - "nixpkgs=${nixpkgs.outPath}" - ]; - }; - }) - # ... add this line to the rest of your configuration modules - #nix-ld.nixosModules.nix-ld + Rory-portable = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./host/Rory-portable/configuration.nix + ./hardware-configuration.nix + home-manager.nixosModules.home-manager + ( + { ... }: + { + nix = { + registry.nixpkgs.flake = nixpkgs; + nixPath = [ "nixpkgs=${nixpkgs.outPath}" ]; + }; + } + ) + # ... add this line to the rest of your configuration modules + #nix-ld.nixosModules.nix-ld - # The module in this repository defines a new module under (programs.nix-ld.dev) instead of (programs.nix-ld) - # to not collide with the nixpkgs version. - #{ programs.nix-ld.dev.enable = true; } - ]; - specialArgs = { - inherit home-manager; - inherit (inputs) mtxclientSrc; - inherit (inputs) nhekoSrc; + # The module in this repository defines a new module under (programs.nix-ld.dev) instead of (programs.nix-ld) + # to not collide with the nixpkgs version. + #{ programs.nix-ld.dev.enable = true; } + ]; + specialArgs = { + inherit home-manager; + inherit (inputs) mtxclientSrc; + inherit (inputs) nhekoSrc; + }; }; - }; - #STABLE - RoryNix = nixpkgs-RoryNix.lib.nixosSystem { - system = "i686-linux"; - modules = [ - ./host/RoryNix/configuration.nix - ./hardware-configuration.nix - ({...}: { nix.registry.nixpkgs.flake = nixpkgs-RoryNix; }) - ]; - }; + #STABLE + RoryNix = nixpkgs-RoryNix.lib.nixosSystem { + system = "i686-linux"; + modules = [ + ./host/RoryNix/configuration.nix + ./hardware-configuration.nix + ( + { ... }: + { + nix.registry.nixpkgs.flake = nixpkgs-RoryNix; + } + ) + ]; + }; - #WSL - Rory-wsl = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - modules = [ - nixos-wsl.nixosModules.default - ./host/Rory-wsl/configuration.nix -# ./hardware-configuration.nix - home-manager.nixosModules.home-manager - #nur.nixosModules.nur - ]; - specialArgs = { - inherit (inputs) mtxclientSrc; - inherit (inputs) nhekoSrc; + #WSL + Rory-wsl = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + nixos-wsl.nixosModules.default + ./host/Rory-wsl/configuration.nix + # ./hardware-configuration.nix + home-manager.nixosModules.home-manager + #nur.nixosModules.nur + ]; + specialArgs = { + inherit (inputs) mtxclientSrc; + inherit (inputs) nhekoSrc; + }; }; }; }; - }; } |