Compare commits
No commits in common. "e223895944416f20c01fbb0b486de8674da92a02" and "645ca12ef22c4fd81bfe0dd5ff2aada1770642d5" have entirely different histories.
e223895944
...
645ca12ef2
|
@ -1,6 +1,3 @@
|
||||||
let
|
|
||||||
PROJECT_ROOT = builtins.toString ./.;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -8,7 +5,7 @@ in
|
||||||
"ewanick.com" = {
|
"ewanick.com" = {
|
||||||
serverAliases = [ "www.ewanick.com" ];
|
serverAliases = [ "www.ewanick.com" ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
root * ${PROJECT_ROOT}/ewanick.com/
|
root * /workspace/nixos-apps/ewanick.com/
|
||||||
file_server
|
file_server
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
@ -11,9 +11,9 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
# Applications that run on this server
|
# Applications that run on this server
|
||||||
../nixos-apps/ewanick.com.nix
|
/workspace/nixos-apps/ewanick.com.nix
|
||||||
../nixos-apps/fancytypist.com.nix
|
/workspace/nixos-apps/fancytypist.com.nix
|
||||||
../nixos-apps/git.ewanick.com.nix
|
/workspace/nixos-apps/git.ewanick.com.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
|
@ -82,15 +82,6 @@
|
||||||
sysstat
|
sysstat
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable Nix-ld for remote VSCode SSH to work
|
|
||||||
programs.nix-ld.enable = true;
|
|
||||||
environment.variables = {
|
|
||||||
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
|
|
||||||
pkgs.stdenv.cc.cc
|
|
||||||
];
|
|
||||||
NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -102,7 +93,6 @@
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
networking.interfaces.eth0.useDHCP = true;
|
networking.interfaces.eth0.useDHCP = true;
|
||||||
|
|
||||||
# Linode Longview monitoring
|
|
||||||
services.longview = {
|
services.longview = {
|
||||||
enable = true;
|
enable = true;
|
||||||
apiKeyFile = "/var/lib/longview/apiKeyFile";
|
apiKeyFile = "/var/lib/longview/apiKeyFile";
|
||||||
|
@ -115,4 +105,5 @@
|
||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "22.11"; # Did you read the comment?
|
system.stateVersion = "22.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1680865339,
|
"lastModified": 1680665430,
|
||||||
"narHash": "sha256-H6rmJ1CyJ3Q5ZyoLMYq/UEYMS9Q1orJjRpWiQ47HudE=",
|
"narHash": "sha256-MTVhTukwza1Jlq2gECITZPFnhROmylP2uv3O3cSqQCE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0040164e473509b4aee6aedb3b923e400d6df10b",
|
"rev": "5233fd2ba76a3accb5aaa999c00509a11fd0793c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Reference in New Issue