diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-02-19 17:04:27 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-02-19 17:04:27 +0100 |
| commit | 2e78e3aa4f3dd4706fa15bee8e0bbde58c9e5ce7 (patch) | |
| tree | 38df07301d763eaf65636bd3f41ac30124ebdd30 /flake.nix | |
| parent | 367e1fd625414eac668431eac0479f757665b144 (diff) | |
format flake
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 49 |
1 files changed, 27 insertions, 22 deletions
@@ -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 ]; + }; }; }; - }; } |
