Files
clw f2960ba230 refactor(common): move package search into shared base
- Install nix-search-cli through common.nix
- Remove its development module entry and update documentation
2026-10-06 19:42:39 +01:00

46 lines
1.0 KiB
Nix

{ pkgs, ... }:
{
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nix.settings.auto-optimise-store = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
nixpkgs.config.allowUnfree = true;
environment.systemPackages = [ pkgs.nix-search-cli ];
networking.networkmanager.enable = true;
time.timeZone = "Africa/Tunis";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
users.users.clw = {
isNormalUser = true;
description = "Chris Wong";
shell = pkgs.zsh;
extraGroups = [
"networkmanager"
"wheel"
"scanner"
"lp"
];
packages = [ pkgs.firefox ];
};
programs.zsh.enable = true;
}