2015-08-11 19:00:22 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
2017-11-08 09:54:44 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
2015-08-02 21:12:38 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[ # Include the results of the hardware scan.
|
2017-07-15 17:01:02 +00:00
|
|
|
<stockholm/makefu>
|
2017-11-08 09:54:44 +00:00
|
|
|
<stockholm/makefu/2configs/main-laptop.nix>
|
2018-09-16 23:11:57 +00:00
|
|
|
# <stockholm/makefu/2configs/tools/all.nix>
|
|
|
|
<stockholm/makefu/2configs/fs/single-partition-ext4.nix>
|
2015-08-07 10:53:38 +00:00
|
|
|
# hardware specifics are in here
|
2017-07-28 19:59:28 +00:00
|
|
|
# imports tp-x2x0.nix
|
2018-09-16 23:11:57 +00:00
|
|
|
<stockholm/makefu/2configs/hw/tp-x230.nix>
|
|
|
|
<stockholm/makefu/2configs/hw/bluetooth.nix>
|
|
|
|
<stockholm/makefu/2configs/hw/network-manager.nix>
|
2015-08-14 13:59:05 +00:00
|
|
|
|
2017-11-08 09:54:44 +00:00
|
|
|
# <stockholm/makefu/2configs/rad1o.nix>
|
2015-08-17 21:24:37 +00:00
|
|
|
|
2017-07-15 17:01:02 +00:00
|
|
|
<stockholm/makefu/2configs/zsh-user.nix>
|
|
|
|
<stockholm/makefu/2configs/exim-retiolum.nix>
|
|
|
|
<stockholm/makefu/2configs/tinc/retiolum.nix>
|
2018-09-16 23:11:57 +00:00
|
|
|
|
|
|
|
<stockholm/makefu/2configs/sshd-totp.nix>
|
|
|
|
{
|
|
|
|
programs.adb.enable = true;
|
|
|
|
}
|
2015-08-02 21:12:38 +00:00
|
|
|
];
|
|
|
|
krebs.build.host = config.krebs.hosts.tsp;
|
2018-09-16 23:11:57 +00:00
|
|
|
boot.loader.grub.device = "/dev/sda";
|
2015-08-17 21:24:37 +00:00
|
|
|
|
2015-08-13 15:15:09 +00:00
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
25
|
|
|
|
];
|
|
|
|
|
2019-11-07 09:59:12 +00:00
|
|
|
hardware.enableRedistributableFirmware = true;
|
2017-11-08 09:54:44 +00:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
2015-08-02 21:12:38 +00:00
|
|
|
}
|