Compare commits

..

2 Commits

Author SHA1 Message Date
Yves Dubromelle
7681f7774e nixos: 19.03 -> 19.09 2019-11-19 22:38:25 +01:00
Yves Dubromelle
fe0ea31e30 les variantes de git se catapultent -> git full par défaut 2019-08-21 00:11:09 +02:00
6 changed files with 11 additions and 13 deletions

View File

@@ -35,7 +35,7 @@ optimise:
$(TIME) nix optimise-store
rebuild-build:
nix-channel --add https://nixos.org/channels/nixos-19.03 nixos
nix-channel --add https://nixos.org/channels/nixos-19.09 nixos
$(TIME) time nixos-rebuild build --fallback --show-trace
rebuild-switch:
@@ -58,7 +58,7 @@ store-repair:
$(TIME) nix-store --verify --check-contents --repair
upgrade:
nix-channel --add https://nixos.org/channels/nixos-19.03 nixos
nix-channel --add https://nixos.org/channels/nixos-19.09 nixos
$(TIME) nixos-rebuild switch --upgrade --fallback --show-trace
##--------- Commandes spécifiques pour NixOS -- Opérations non courantes

View File

@@ -21,7 +21,6 @@ mkIf (flags.developpement && flags.graphical) {
# Gestion des sources
#gitg # interface pour utiliser git (historique, commit)
gitstats # génère un site web statique avec des statistiques
gitAndTools.gitFull # pour gitk
git-cola # interface pour utiliser git (historique, commit)
## Visualisation & outils de diff

View File

@@ -12,7 +12,7 @@ mkIf true {
# Paquets
environment.systemPackages = with pkgs; [
byobu # permet de se déconnecter d'un terminal sans l'arréter
git gitAndTools.tig gti # outil de gestion de version
gitAndTools.gitFull gitAndTools.tig gti # outil de gestion de version
gnumake # pour décrire les recettes de compilation
gnupg # GPG
htop # monitoring

View File

@@ -25,7 +25,6 @@ mkIf flags.developpement {
# Gestion des sources
cloc # outil pour compter les lignes de code source
git gitAndTools.gitSVN # git et git-svn
mercurial
subversion

View File

@@ -12,7 +12,7 @@ in
nix.buildCores = 0;
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "19.03";
system.stateVersion = "19.09";
# copies the NixOS configuration file (usually /etc/nixos/configuration.nix) and links it from the resulting system (getting to /run/current-system/configuration.nix)
system.copySystemConfiguration = true;

View File

@@ -63,7 +63,7 @@ let
ipAddress = mkOption {
description = "Adresse IP.";
type = lib.types.string;
type = lib.types.str;
};
nix-serve-server = mkEnableOption "nix-serve server.";
nix-serve-client = {
@@ -80,18 +80,18 @@ let
dnsFQDN = mkOption {
example = "device.example.net.";
description = "DNS name of host pointing to tunnel IP.";
type = lib.types.string;
type = lib.types.str;
};
connectToAddress = mkOption {
default = "";
example = "192.168.1.1";
description = "External address to connect from another node.";
type = lib.types.string;
type = lib.types.str;
};
vpnAddress = mkOption {
example = "192.168.69.69/24";
description = "VPN local node IP address.";
type = lib.types.string;
type = lib.types.str;
};
vpnCidrLength = mkOption {
default = 24;
@@ -106,7 +106,7 @@ let
ConnecTo = bar
'';
description = "Configuration supplémentaire pour tinc.";
type = lib.types.string;
type = lib.types.str;
};
};
@@ -129,7 +129,7 @@ let
enable = mkEnableOption "Activation du démarrage de Windows par Grub";
drive = mkOption {
description = "Lecteur sur lequel est présent le système Windows (au format GRUB)";
type = lib.types.string;
type = lib.types.str;
default = "hd0,1";
};
};
@@ -137,7 +137,7 @@ let
enable = mkEnableOption "Montage de la partition data Windows";
device = mkOption {
description = "Lecteur sur lequel est présent le disque de data Windows";
type = lib.types.string;
type = lib.types.str;
default = "/dev/sda2";
};
};