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
|
let
|
||||||
useGUI = name == "workstation";
|
useGUI = name == "workstation";
|
||||||
nixpkgsSelect = if useGUI then inputs.nixpkgs else inputs.nixpkgs-small;
|
nixpkgsSelect = if useGUI then inputs.nixpkgs else inputs.nixpkgs-small;
|
||||||
pkgs = makePkgs nixpkgsSelect;
|
pkgs = nixpkgsSelect |> makePkgs;
|
||||||
pkgs-chrome = makePkgs inputs.nixpkgs-chrome;
|
pkgs-chrome = inputs.nixpkgs-chrome |> makePkgs;
|
||||||
overlayFile = import ./overlay.nix { inherit pkgs pkgs-chrome; };
|
overlayFile = import ./overlay.nix { inherit pkgs pkgs-chrome; };
|
||||||
lib = nixpkgsSelect.lib // inputs.home-manager.lib;
|
lib = nixpkgsSelect.lib // inputs.home-manager.lib;
|
||||||
in
|
in
|
||||||
@ -49,9 +49,9 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
workstation = createConfig "workstation";
|
workstation = "workstation" |> createConfig;
|
||||||
miniserver = createConfig "miniserver";
|
miniserver = "miniserver" |> createConfig;
|
||||||
server = createConfig "server";
|
server = "server" |> createConfig;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user