initial config
This commit is contained in:
32
modules/system/services.nix
Normal file
32
modules/system/services.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
# ==========================================
|
||||
# SYSTEM SERVICES CONFIGURATION
|
||||
# ==========================================
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Zsh at system level (config lives in home-manager)
|
||||
programs.zsh.enable = true;
|
||||
|
||||
# Docker
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
autoPrune = {
|
||||
enable = true;
|
||||
dates = "weekly";
|
||||
flags = [ "--all" "--volumes" ];
|
||||
};
|
||||
};
|
||||
|
||||
# nix-ld — run unpatched binaries (Cursor, Codex, etc.)
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
stdenv.cc.cc
|
||||
zlib
|
||||
fuse3
|
||||
icu
|
||||
nss
|
||||
openssl
|
||||
curl
|
||||
expat
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user