chore: reimage testienix

fix: more minimal
This commit is contained in:
Patrick 2024-08-31 20:47:00 +02:00
parent 3833b8abf0
commit 91005c544a
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
6 changed files with 15 additions and 12 deletions

View file

@ -3,6 +3,7 @@
inputs,
pkgs,
nodes,
minimal,
...
}:
{
@ -15,7 +16,7 @@
useUserPackages = true;
verbose = true;
extraSpecialArgs = {
inherit nodes;
inherit nodes minimal;
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
};
sharedModules = [

View file

@ -62,7 +62,6 @@
fd
kitty.terminfo
nvd
htop
unzip
# fix pcscd
pcscliteWithPolkit.out

View file

@ -1,14 +1,19 @@
# Configuration for actual physical machines
{ config, ... }:
{
hardware = {
config,
minimal,
lib,
...
}:
{
hardware = lib.mkIf (!minimal) {
enableRedistributableFirmware = true;
enableAllFirmware = true;
};
services = {
fwupd.enable = true;
smartd.enable = true;
fwupd.enable = !minimal;
smartd.enable = !minimal;
thermald.enable = builtins.elem config.nixpkgs.hostPlatform.system [ "x86_64-linux" ];
};
}

View file

@ -15,11 +15,9 @@
../../config/hardware/physical.nix
../../config/optional/zfs.nix
../../config/services/octoprint.nix
./net.nix
./fs.nix
] ++ lib.lists.optionals (!minimal) [ ];
] ++ lib.lists.optionals (!minimal) [ ../../config/services/octoprint.nix ];
services.xserver.xkb = {
layout = "de";
};

View file

@ -1 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGXcDQbZKe8mcPj7ZqAcNrbVbXCW4po+A004yMjauQjD
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMTiFpqpCiJaFOcSjFrJWk7YPBiZLwoJRbyy1JgZWFmN

View file

@ -1,11 +1,11 @@
{ minimal, lib, ... }:
{
imports = [
./shells/alias.nix
./shells/zsh
./programs/gpg.nix
./programs/htop.nix
];
] ++ lib.optional (!minimal) ./programs/htop.nix;
programs.bat.enable = true;
nixpkgs.config = {