ace ++
This commit is contained in:
@@ -30,6 +30,10 @@
|
|||||||
url = "github:nix-community/lanzaboote/v0.3.0";
|
url = "github:nix-community/lanzaboote/v0.3.0";
|
||||||
# inputs.nixpkgs.follows = "nixpkgs-unstable";
|
# inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
};
|
};
|
||||||
|
#arion = {
|
||||||
|
# url = "github:hercules-ci/arion";
|
||||||
|
# inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
#};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs:
|
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs:
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
lib.mkIf (host != "NxACE")
|
lib.mkIf (host != "NxACE")
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
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
6
home-modules/pandoc.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
pandoc
|
||||||
|
];
|
||||||
|
}
|
||||||
1
home.nix
1
home.nix
@@ -36,6 +36,7 @@
|
|||||||
./home-modules/qt.nix
|
./home-modules/qt.nix
|
||||||
|
|
||||||
./home-modules/latex.nix
|
./home-modules/latex.nix
|
||||||
|
./home-modules/pandoc.nix
|
||||||
./home-modules/python.nix
|
./home-modules/python.nix
|
||||||
];
|
];
|
||||||
home.username = user;
|
home.username = user;
|
||||||
|
|||||||
@@ -13,8 +13,27 @@
|
|||||||
# environmentFile = ../secrets/nx2site/namecheap-creds.env;
|
# environmentFile = ../secrets/nx2site/namecheap-creds.env;
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
services.nginx = {
|
# services.nginx = {
|
||||||
enable = true;
|
# 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user