began using the pipe-operator
This commit is contained in:
parent
c95b4ac026
commit
fbd6b16962
10
flake.nix
10
flake.nix
@ -29,8 +29,8 @@
|
||||
let
|
||||
useGUI = name == "workstation";
|
||||
nixpkgsSelect = if useGUI then inputs.nixpkgs else inputs.nixpkgs-small;
|
||||
pkgs = makePkgs nixpkgsSelect;
|
||||
pkgs-chrome = makePkgs inputs.nixpkgs-chrome;
|
||||
pkgs = nixpkgsSelect |> makePkgs;
|
||||
pkgs-chrome = inputs.nixpkgs-chrome |> makePkgs;
|
||||
overlayFile = import ./overlay.nix { inherit pkgs pkgs-chrome; };
|
||||
lib = nixpkgsSelect.lib // inputs.home-manager.lib;
|
||||
in
|
||||
@ -49,9 +49,9 @@
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
workstation = createConfig "workstation";
|
||||
miniserver = createConfig "miniserver";
|
||||
server = createConfig "server";
|
||||
workstation = "workstation" |> createConfig;
|
||||
miniserver = "miniserver" |> createConfig;
|
||||
server = "server" |> createConfig;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user