From c95811536f0bb95056985a85d080d5d793416ade Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 3 Feb 2025 13:38:50 +0100 Subject: [PATCH] style: removing the extraOptions nix to more clear option --- hosts/fix/configuration.nix | 9 --------- hosts/global.nix | 10 +++++++++- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/hosts/fix/configuration.nix b/hosts/fix/configuration.nix index 29cdcc7..fd92c8a 100644 --- a/hosts/fix/configuration.nix +++ b/hosts/fix/configuration.nix @@ -48,15 +48,6 @@ pulse.enable = true; jack.enable = true; }; - nginx = { - virtualHosts = { - "enium.eu" = { - forceSSL = true; - sslCertificate = "/etc/nginx/ssl/selfsigned.crt"; - sslCertificateKey = "/etc/nginx/ssl/selfsigned.key"; - }; - }; - }; udev.extraRules = '' SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="5740", MODE="0666" ''; diff --git a/hosts/global.nix b/hosts/global.nix index 899bbe5..9e68fc5 100644 --- a/hosts/global.nix +++ b/hosts/global.nix @@ -6,7 +6,9 @@ man.enable = true; dev.enable = true; }; + time.timeZone = "Europe/Paris"; + i18n = { defaultLocale = "en_US.UTF-8"; extraLocaleSettings = { @@ -42,8 +44,14 @@ }; }; }; + nixpkgs.config.allowUnfree = true; - nix.extraOptions = ''experimental-features = nix-command flakes''; + + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; + programs = { zsh.enable = true; };