summaryrefslogtreecommitdiffstats
path: root/lass/1systems/hilum/config.nix
blob: 998fa1478f7561feaec94c9f9556956da3f50f00 (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
{ config, ... }:
{
  imports = [
    <stockholm/lass>

    <stockholm/lass/2configs/retiolum.nix>
    <stockholm/lass/2configs/baseX.nix>
    <stockholm/lass/2configs/browsers.nix>
    <stockholm/lass/2configs/programs.nix>
    <stockholm/lass/2configs/network-manager.nix>
    <stockholm/lass/2configs/mail.nix>
    <stockholm/lass/2configs/syncthing.nix>
  ];

  krebs.build.host = config.krebs.hosts.hilum;

  boot.loader.grub.extraEntries = ''
    menuentry "grml" {
      iso_path=/isos/grml.iso
      export iso_path
      search --set=root --file $iso_path
      loopback loop $iso_path
      root=(loop)
      configfile /boot/grub/loopback.cfg
      loopback --delete loop
    }
  '';
}