fixing placement of nix.package option
This commit is contained in:
parent
f1e8518dbd
commit
e9548d8856
|
@ -5,7 +5,6 @@ with lib;
|
|||
|
||||
nix = {
|
||||
extraOptions = "experimental-features = nix-command flakes";
|
||||
package = pkgs.nixFlakes;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
|
|
|
@ -4,7 +4,6 @@ with lib;
|
|||
{
|
||||
|
||||
nix = {
|
||||
extraOptions = "experimental-features = nix-command flakes";
|
||||
package = pkgs.nixVersions.unstable;
|
||||
};
|
||||
|
||||
|
|
9
modules/servers.nix
Normal file
9
modules/servers.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
{
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
}
|
||||
}
|
||||
|
|
@ -5,6 +5,7 @@
|
|||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../modules/base.nix
|
||||
../../modules/servers.nix
|
||||
../../pkgs/base-packages.nix
|
||||
];
|
||||
|
||||
|
@ -245,6 +246,9 @@
|
|||
virtualHosts = {
|
||||
"workout.cochrun.xyz".extraConfig = ''
|
||||
reverse_proxy localhost:8001
|
||||
header {
|
||||
Access-Control-Allow-Origin *
|
||||
}
|
||||
'';
|
||||
};
|
||||
virtualHosts = {
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../modules/base.nix
|
||||
../../modules/servers.nix
|
||||
../../pkgs/base-packages.nix
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue