damocles-lab misc

This commit is contained in:
müde 2026-04-29 23:58:15 +02:00
parent 7b56f73a48
commit 4d872cd632
5 changed files with 24 additions and 10 deletions

View file

@ -235,7 +235,7 @@
device, device,
system, system,
home-manager-users ? { }, home-manager-users ? { },
nixosSystem ? nixpkgs.lib.nixosSystem nixosSystem ? nixpkgs.lib.nixosSystem,
}: }:
let let
specialArgs = inputs // { specialArgs = inputs // {
@ -247,7 +247,7 @@
modules = [ modules = [
{ {
imports = [ imports = [
./nixosConfigurations/${device} ./nixosConfigurations/${device}
self.nixosModules.global-settings self.nixosModules.global-settings
] ]
++ (lib.optionals (home-manager-users != { }) [ ++ (lib.optionals (home-manager-users != { }) [

View file

@ -8,10 +8,10 @@
{ {
imports = [ imports = [
../aur0ra ../aur0ra
# nixos-images.nixosModules.sdimage-installer # nixos-images.nixosModules.sdimage-installer
]; ];
disabledModules = [ disabledModules = [
# disable the sd-image module that nixos-images uses # disable the sd-image module that nixos-images uses
# (modulesPath + "/installer/sd-card/sd-image-aarch64-installer.nix") # (modulesPath + "/installer/sd-card/sd-image-aarch64-installer.nix")
]; ];
} }

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
imports = [../damocles/claude-container.nix]; imports = [ ../damocles/claude-container.nix ];
services.openssh = { services.openssh = {
enable = true; enable = true;

View file

@ -1,4 +1,10 @@
{ pkgs,self,lib, ... }: { {
pkgs,
self,
lib,
...
}:
{
nixpkgs.overlays = [ self.overlays.unstable-packages ]; nixpkgs.overlays = [ self.overlays.unstable-packages ];
allowedUnfreePackages = [ "claude-code" ]; allowedUnfreePackages = [ "claude-code" ];
@ -11,9 +17,6 @@
gawk gawk
gnugrep gnugrep
curl curl
cargo
rustc
clippy
]; ];
boot.isContainer = true; boot.isContainer = true;

View file

@ -1,3 +1,14 @@
{ pkgs, ... }:
{ {
imports = [ ./android-dev.nix ./claude-container.nix ]; imports = [
./android-dev.nix
./claude-container.nix
];
environment.systemPackages = with pkgs; [
cargo
rustc
clippy
gh
];
} }