This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-07 16:56:30 +02:00
parent 428c531415
commit 1387e5a081
5 changed files with 34 additions and 4 deletions

View File

@@ -30,6 +30,10 @@
url = "github:nix-community/lanzaboote/v0.3.0";
# inputs.nixpkgs.follows = "nixpkgs-unstable";
};
#arion = {
# url = "github:hercules-ci/arion";
# inputs.nixpkgs.follows = "nixpkgs";
#};
};
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs:

View File

@@ -2,6 +2,6 @@
lib.mkIf (host != "NxACE")
{
home.packages = with pkgs; [
(texlive.combine { inherit (texlive) scheme-full xifthen ifmtarg framed paralist titlesec xcolor; })
(texlive.combine { inherit (texlive) scheme-full xifthen ifmtarg framed paralist titlesec xcolor; })
];
}

6
home-modules/pandoc.nix Normal file
View File

@@ -0,0 +1,6 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
pandoc
];
}

View File

@@ -36,6 +36,7 @@
./home-modules/qt.nix
./home-modules/latex.nix
./home-modules/pandoc.nix
./home-modules/python.nix
];
home.username = user;

View File

@@ -13,8 +13,27 @@
# environmentFile = ../secrets/nx2site/namecheap-creds.env;
# };
# };
services.nginx = {
enable = true;
};
# services.nginx = {
# enable = true;
# };
systemd = {
timers."namecheap-dynamic-dns" = {
wantedBy = [ "timers.target" ];
timerConfig = {
OnBootSec = "2m";
OnUnitActiveSec = "10m";
Unit = "namecheap-dynamic-dns.service";
};
};
services."namecheap-dynamic-dns" = {
script = ''
/home/nx2/nx2site/domain/update-namecheap.sh
'';
serviceConfig = {
Type = "oneshot";
User = "nx2";
};
};
};
};
}