summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix49
1 files changed, 27 insertions, 22 deletions
diff --git a/flake.nix b/flake.nix
index 3541de1..7287cad 100644
--- a/flake.nix
+++ b/flake.nix
@@ -9,28 +9,33 @@
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small";
};
- outputs = { self, nixpkgs, nixpkgs-unstable, my-nixpkgs, personal-webpage, ... }: {
- nixosConfigurations = let
- system = "x86_64-linux";
- commonModules = [
- my-nixpkgs.nixosModules.personal
- ({ ... }: {
- nixpkgs.overlays =
- [ my-nixpkgs.overlays.personal personal-webpage.overlays.default (_: prev: {
- inherit (nixpkgs-unstable.legacyPackages."${prev.system}") filtron;
- })];
- })
- ];
- in {
- hermes = nixpkgs.lib.nixosSystem {
- inherit system;
- modules = commonModules
- ++ [ ./config ./config/hardware-configuration.nix ];
- };
- hermes-test = nixpkgs.lib.nixosSystem {
- inherit system;
- modules = commonModules ++ [ ./tests/configuration.nix ];
+ outputs =
+ { self, nixpkgs, nixpkgs-unstable, my-nixpkgs, personal-webpage, ... }: {
+ nixosConfigurations = let
+ system = "x86_64-linux";
+ commonModules = [
+ my-nixpkgs.nixosModules.personal
+ ({ ... }: {
+ nixpkgs.overlays = [
+ my-nixpkgs.overlays.personal
+ personal-webpage.overlays.default
+ (_: prev: {
+ inherit (nixpkgs-unstable.legacyPackages."${prev.system}")
+ filtron;
+ })
+ ];
+ })
+ ];
+ in {
+ hermes = nixpkgs.lib.nixosSystem {
+ inherit system;
+ modules = commonModules
+ ++ [ ./config ./config/hardware-configuration.nix ];
+ };
+ hermes-test = nixpkgs.lib.nixosSystem {
+ inherit system;
+ modules = commonModules ++ [ ./tests/configuration.nix ];
+ };
};
};
- };
}