/!\ migration à nixos 19.03 (18.03 plus mis à jour)

nixos-19.09 2019-05-09-latitude
Yves Dubromelle 6 years ago
parent c642afb7e6
commit a5e03f769b

@ -25,10 +25,10 @@ full-auto: submodules-update upgrade clean optimise
@date
optimise:
$(TIME) nix-store --optimise
$(TIME) nix optimise-store
rebuild-build:
nix-channel --add https://nixos.org/channels/nixos-18.03 nixos
nix-channel --add https://nixos.org/channels/nixos-19.03 nixos
$(TIME) time nixos-rebuild build --fallback --show-trace
rebuild-switch:
@ -51,7 +51,7 @@ store-repair:
$(TIME) nix-store --verify --check-contents --repair
upgrade:
nix-channel --add https://nixos.org/channels/nixos-18.03 nixos
nix-channel --add https://nixos.org/channels/nixos-19.03 nixos
$(TIME) nixos-rebuild switch --upgrade --fallback --show-trace
##--------- Commandes spécifiques pour NixOS -- Opérations non courantes

@ -13,6 +13,6 @@ mkIf (flags.developpement-haskell && flags.graphical) {
environment.systemPackages = with pkgs; [
] ++ (with pkgs.haskellPackages; [
# Haskell lib
threadscope # visualisation des threads (<bidule>.eventlog)
#threadscope # visualisation des threads (<bidule>.eventlog)
]);
}

@ -19,7 +19,7 @@ mkIf flags.developpement-haskell {
] ++ (with pkgs.haskellPackages; [
# Haskell lib
autoproc # ? procmail
brittany # formatteur de code
#brittany # formatteur de code
darcs # gestionnaire de version éponyme
#ghc-mod # outil d'analyse de code haskell utilisé par IDE
hindent # indentation code

@ -12,7 +12,7 @@ in
nix.buildCores = 0;
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "18.03";
system.stateVersion = "19.03";
# 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;
@ -27,7 +27,7 @@ in
boot.cleanTmpDir = true;
# Activation des pages de manuel
programs.man.enable = true;
documentation.man.enable = true;
# Paquets

@ -33,7 +33,7 @@ mkIf true {
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", GROUP="audio", MODE="0666", SYMLINK+="rtl_sdr"
'';
security.pam.enableU2F = true;
security.pam.u2f.enable = true;
environment.systemPackages = with pkgs; [
libu2f-host

@ -13,7 +13,7 @@ mkIf flags.docker {
environment.systemPackages = with pkgs; [
# Ecosystème Docker
docker
python36Packages.docker_compose
docker-compose
];
virtualisation.docker.enable = true;

@ -33,7 +33,7 @@ mkIf true {
gnupg opensc pcsctools libu2f-host yubikey-personalization
];
security.pam.enableU2F = true;
security.pam.u2f.enable = true;
/*users.extraUsers.joko = {
isNormalUser = true;

Loading…
Cancel
Save