From 6ae67f8e0948679075969fb5ec1b8e14a97a0fb5 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Fri, 3 Jun 2016 14:38:58 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20de=20la=20mise=20=C3=A0=20jour=20automa?= =?UTF-8?q?tique=20du=20syst=C3=A8me=20en=20manuel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- activation-manuelle/auto-upgrade.nix | 7 +++++++ base.nix | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 activation-manuelle/auto-upgrade.nix diff --git a/activation-manuelle/auto-upgrade.nix b/activation-manuelle/auto-upgrade.nix new file mode 100644 index 0000000..0c1c58c --- /dev/null +++ b/activation-manuelle/auto-upgrade.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ + # Automatic update & automatic clean + system.autoUpgrade.enable = true; + nix.gc.automatic = true; +} diff --git a/base.nix b/base.nix index b151a70..50ce630 100644 --- a/base.nix +++ b/base.nix @@ -2,8 +2,11 @@ { imports = [ - ./tools.nix + #./activation-manuelle/auto-upgrade.nix + #./activation-manuelle/locate.nix + #./activation-manuelle/swap.nix ./localisation.nix ./networking.nix + ./tools.nix ]; }