stockholm/lass/1systems/hilum/config.nix

39 lines
939 B
Nix
Raw Normal View History

2019-10-14 11:38:27 +00:00
{ config, pkgs, ... }:
2019-09-22 09:40:48 +00:00
{
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>
2019-12-02 14:53:34 +00:00
<stockholm/lass/2configs/nfs-dl.nix>
2019-09-22 09:40:48 +00:00
];
krebs.build.host = config.krebs.hosts.hilum;
2019-10-14 11:38:27 +00:00
boot.loader.grub = {
extraEntries = ''
submenu isos {
source /grub/autoiso.cfg
}
'';
extraFiles."/grub/autoiso.cfg" = (pkgs.stdenv.mkDerivation {
name = "autoiso.cfg";
src = pkgs.grub2.src;
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
cp docs/autoiso.cfg $out
'';
});
2019-10-14 11:38:27 +00:00
};
2020-01-11 19:30:04 +00:00
services.logind.lidSwitch = "ignore";
services.logind.lidSwitchDocked = "ignore";
2020-04-11 15:10:10 +00:00
boot.tmpOnTmpfs = true;
2019-09-22 09:40:48 +00:00
}