Compare commits

..

4 Commits

4 changed files with 18 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
GSF=git submodule foreach GSF=git submodule foreach
TIME=time TIME=time
CHRONY_STATUS=chronyc tracking
CHRONY_STATS=chronyc sources -v
all: rebuild-switch all: rebuild-switch
date date
##--------- Commandes spécifiques pour NixOS ##--------- Commandes spécifiques pour NixOS
@@ -39,6 +42,11 @@ show-diff-with-current:
show-roots: show-roots:
nix-store --gc --print-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: store-repair:
$(TIME) nix-store --verify --check-contents --repair $(TIME) nix-store --verify --check-contents --repair

View File

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

View File

@@ -77,6 +77,11 @@ let
tinc = { tinc = {
enable = mkEnableOption "Enable tinc service"; 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 { connectToAddress = mkOption {
default = ""; default = "";
example = "192.168.1.1"; example = "192.168.1.1";

View File

@@ -23,7 +23,6 @@ mkIf flags.hydra-builder {
docker.enable = true; docker.enable = true;
libvirtd = { libvirtd = {
enable = true; enable = true;
enableKVM = true;
}; };
virtualbox = { virtualbox = {
#guest.enable = true; #guest.enable = true;