nixos-config/machines/cake/config.nix

40 lines
1.2 KiB
Nix
Raw Normal View History

2017-10-03 15:42:42 +02:00
{ config, lib, pkgs, ... }:
let
primaryInterface = "eth0";
in {
2017-10-01 20:12:06 +02:00
imports = [
./hardware-config.nix
2023-07-05 15:26:37 +02:00
../../2configs
../../2configs/home-manager
2024-01-18 01:17:01 +01:00
../../2configs/home/3dprint
2022-09-23 23:47:47 +02:00
#./hardware-config.nix
2019-06-17 08:00:46 +02:00
{ environment.systemPackages = with pkgs;[ rsync screen curl git tmux picocom mosh ];}
2023-07-05 15:26:37 +02:00
# ../../2configs/tools/core.nix
../../2configs/binary-cache/nixos.nix
#../../2configs/support-nixos.nix
# ../../2configs/homeautomation/default.nix
# ../../2configs/homeautomation/google-muell.nix
2024-01-15 22:35:36 +01:00
../../2configs/hw/pseyecam.nix
2019-06-17 08:00:46 +02:00
# configure your hw:
2023-07-05 15:26:37 +02:00
# ../../2configs/save-diskspace.nix
2023-06-03 15:17:54 +02:00
# directly use the alsa device instead of attaching to pulse
2023-07-05 15:26:37 +02:00
../../2configs/tinc/retiolum.nix
2024-01-15 22:35:36 +01:00
# ../../2configs/audio/respeaker.nix
#../../2configs/home/rhasspy/default.nix
#../../2configs/home/rhasspy/led-control.nix
2017-10-01 20:12:06 +02:00
];
krebs = {
enable = true;
build.host = config.krebs.hosts.cake;
};
2022-09-23 23:47:47 +02:00
# ensure disk usage is limited
services.journald.extraConfig = "Storage=volatile";
networking.firewall.trustedInterfaces = [ primaryInterface ];
documentation.info.enable = false;
documentation.man.enable = false;
2022-09-23 23:47:47 +02:00
documentation.nixos.enable = false;
2024-01-15 22:35:36 +01:00
#nixpkgs.config.allowUnsupportedSystem = true;
2017-10-01 20:12:06 +02:00
}