Compare commits

..

3 Commits

3 changed files with 18 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
GSF=git submodule foreach
TIME=time
CHRONY_STATUS=chronyc tracking
CHRONY_STATS=chronyc sources -v
all: rebuild-switch
date
##--------- Commandes spécifiques pour NixOS
@@ -39,6 +42,11 @@ show-diff-with-current:
show-roots:
nix-store --gc --print-roots
show-time:
-@$(CHRONY_STATUS)
#CHRONY_STATUS='chronyc tracking' CHRONY_STATS='chronyc sources -v' ${CHRONY_STATS} && watch -d -n 20 "${CHRONY_STATUS} && echo "--" && ${CHRONY_STATS}"
-@watch -d -n 20 "$(CHRONY_STATUS) && echo "--" && $(CHRONY_STATS)"
store-repair:
$(TIME) nix-store --verify --check-contents --repair

View File

@@ -11,6 +11,11 @@ mkIf flags.developpement {
# Paquets
environment.systemPackages = with pkgs; [
# Build / outil de construction
autobuild
autoconf
automake
# Base de données
pg_top # monitoring de PostgreSQL
sqlite # le moteur de base de données

View File

@@ -77,6 +77,11 @@ let
tinc = {
enable = mkEnableOption "Enable tinc service";
dnsFQDN = mkOption {
example = "device.example.net.";
description = "DNS name of host pointing to tunnel IP.";
type = lib.types.string;
};
connectToAddress = mkOption {
default = "";
example = "192.168.1.1";