summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/cake/config.nix
blob: b9550cb2ebf29b11b7cc7bfae5149c3c81ef7ccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ config, lib, pkgs, ... }:
let
  primaryInterface = "eth0";
in {
  imports = [
    <stockholm/makefu>
    ./hardware-config.nix
    <stockholm/makefu/2configs/home-manager>
    <stockholm/makefu/2configs/home/3dprint.nix>
    #./hardware-config.nix
    { environment.systemPackages = with pkgs;[ rsync screen curl git tmux picocom mosh ];}
    # <stockholm/makefu/2configs/tools/core.nix>
    <stockholm/makefu/2configs/binary-cache/nixos.nix>
    #<stockholm/makefu/2configs/support-nixos.nix>
    # <stockholm/makefu/2configs/homeautomation/default.nix>
    # <stockholm/makefu/2configs/homeautomation/google-muell.nix>
    # <stockholm/makefu/2configs/hw/pseyecam.nix>
    # configure your hw:
    # <stockholm/makefu/2configs/save-diskspace.nix>

    # directly use the alsa device instead of attaching to pulse

    <stockholm/makefu/2configs/audio/respeaker.nix>
    <stockholm/makefu/2configs/home/rhasspy/default.nix>
    <stockholm/makefu/2configs/home/rhasspy/led-control.nix>
  ];
  krebs = {
    enable = true;
    tinc.retiolum.enable = true;
    build.host = config.krebs.hosts.cake;
  };
  # ensure disk usage is limited
  services.journald.extraConfig = "Storage=volatile";
  networking.firewall.trustedInterfaces = [ primaryInterface ];
  documentation.info.enable = false;
  documentation.man.enable = false;
  documentation.nixos.enable = false;
}