Refactor nix config

This commit is contained in:
Martin Pander
2026-02-06 21:41:49 +01:00
parent 8ca8d55826
commit 744cb9eb0d
17 changed files with 156 additions and 347 deletions

View File

@@ -9,6 +9,5 @@
home.packages = with pkgs; [
visidata
bubblewrap
];
}

View File

@@ -2,6 +2,7 @@
{
home.packages = with pkgs; [
bubblewrap
claude-code
opencode
gemini-cli

View File

@@ -0,0 +1,40 @@
{ config, pkgs, lib, ... }:
{
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8";
LC_MEASUREMENT = "de_DE.UTF-8";
LC_MONETARY = "de_DE.UTF-8";
LC_NAME = "de_DE.UTF-8";
LC_NUMERIC = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
programs.zsh.enable = true;
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
nixpkgs.config.allowUnfree = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
environment.systemPackages = with pkgs; [
git
wget
curl
vim
];
}