From 26085edbc603cf1299b2f950399edaeab1877583 Mon Sep 17 00:00:00 2001 From: NullBite Date: Wed, 14 Feb 2024 10:11:01 +0100 Subject: [PATCH] base.nix: make some stuff mkDefault --- system/profile/base.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/system/profile/base.nix b/system/profile/base.nix index 5825b08..73bb8d6 100644 --- a/system/profile/base.nix +++ b/system/profile/base.nix @@ -16,9 +16,9 @@ in # locale settings i18n = { - defaultLocale = "en_US.UTF-8"; + defaultLocale = lib.mkDefault "en_US.UTF-8"; extraLocaleSettings = { - LC_ALL = "en_US.UTF-8"; + LC_ALL = lib.mkDefault "en_US.UTF-8"; }; }; @@ -81,7 +81,7 @@ in sops ]; - programs.neovim.defaultEditor = true; + programs.neovim.defaultEditor = lib.mkDefault true; # this makes comma and legacy nix utils use the flake nixpkgs for ABI # compatibility becasue once `, vkcube` couldn't find the correct opengl @@ -89,8 +89,8 @@ in # closures) nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ] ++ options.nix.nixPath.default; - programs.ssh.enableAskPassword = false; - programs.fuse.userAllowOther = true; + programs.ssh.enableAskPassword = lib.mkDefault false; + programs.fuse.userAllowOther = lib.mkDefault true; programs.gnupg.agent = { enable = lib.mkDefault true;