nixos-configs/nixosConfigurations/damocles/default.nix

41 lines
925 B
Nix
Raw Normal View History

{ pkgs, lib, self, ... }:
2026-04-10 11:49:11 +02:00
{
2026-04-22 23:44:26 +02:00
imports = [ ./android-dev.nix ];
2026-04-12 21:37:14 +02:00
nixpkgs.overlays = [ self.overlays.unstable-packages ];
2026-04-10 11:49:11 +02:00
boot.isContainer = true;
# Container shares host network namespace (privateNetwork = false), so the
# host's tailscale already covers this. Running a second tailscaled in the
# same netns fights over routing and breaks connectivity after sleep/wake.
services.tailscale.enable = lib.mkForce false;
networking.firewall.checkReversePath = lib.mkForce "strict";
2026-04-10 11:49:11 +02:00
allowedUnfreePackages = [ "claude-code" ];
environment.systemPackages = with pkgs; [
unstable.claude-code
git
python3
2026-04-18 16:38:17 +02:00
coreutils-full
gawk
gnugrep
2026-04-10 11:49:11 +02:00
];
users.users.muede = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
security.sudo.wheelNeedsPassword = false;
2026-04-22 23:44:26 +02:00
programs.nix-ld = {
enable = true;
libraries = with pkgs; [
stdenv.cc.cc.lib
zlib
];
};
2026-04-10 11:49:11 +02:00
}