base.nix: make some stuff mkDefault
This commit is contained in:
parent
6915677422
commit
26085edbc6
@ -16,9 +16,9 @@ in
|
|||||||
|
|
||||||
# locale settings
|
# locale settings
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_US.UTF-8";
|
defaultLocale = lib.mkDefault "en_US.UTF-8";
|
||||||
extraLocaleSettings = {
|
extraLocaleSettings = {
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = lib.mkDefault "en_US.UTF-8";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ in
|
|||||||
sops
|
sops
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.neovim.defaultEditor = true;
|
programs.neovim.defaultEditor = lib.mkDefault true;
|
||||||
|
|
||||||
# this makes comma and legacy nix utils use the flake nixpkgs for ABI
|
# this makes comma and legacy nix utils use the flake nixpkgs for ABI
|
||||||
# compatibility becasue once `, vkcube` couldn't find the correct opengl
|
# compatibility becasue once `, vkcube` couldn't find the correct opengl
|
||||||
@ -89,8 +89,8 @@ in
|
|||||||
# closures)
|
# closures)
|
||||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ] ++ options.nix.nixPath.default;
|
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ] ++ options.nix.nixPath.default;
|
||||||
|
|
||||||
programs.ssh.enableAskPassword = false;
|
programs.ssh.enableAskPassword = lib.mkDefault false;
|
||||||
programs.fuse.userAllowOther = true;
|
programs.fuse.userAllowOther = lib.mkDefault true;
|
||||||
|
|
||||||
programs.gnupg.agent = {
|
programs.gnupg.agent = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user