2023-02-09 15:22:55 +00:00
|
|
|
{
|
|
|
|
tree,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2022-11-10 11:25:33 +00:00
|
|
|
imports = with tree; [
|
|
|
|
users.root
|
|
|
|
users.chaos
|
|
|
|
profiles.sshd
|
|
|
|
profiles.kernels.latest
|
|
|
|
|
2022-11-10 14:57:07 +00:00
|
|
|
presets.nixos.desktop
|
|
|
|
presets.nixos.laptop
|
|
|
|
presets.nixos.encrypted-usb
|
2022-11-10 11:25:33 +00:00
|
|
|
|
2022-12-04 13:45:43 +00:00
|
|
|
hosts.tablet.profiles.wireguard
|
|
|
|
hosts.tablet.profiles.harry-vpn
|
|
|
|
|
2022-11-11 20:53:17 +00:00
|
|
|
./secrets.nix
|
2022-11-10 11:25:33 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
home-manager.users.root = {
|
2022-12-04 13:45:43 +00:00
|
|
|
imports = with tree; [home.base];
|
2022-11-10 11:25:33 +00:00
|
|
|
home.stateVersion = "22.05";
|
|
|
|
};
|
2023-03-10 11:09:11 +00:00
|
|
|
|
2022-11-10 11:25:33 +00:00
|
|
|
home-manager.users.chaos = {
|
|
|
|
imports = with tree; [
|
|
|
|
home.base
|
|
|
|
home.dev.all
|
2022-11-10 14:57:07 +00:00
|
|
|
home.home-folders
|
2022-11-23 15:58:12 +00:00
|
|
|
home.backup-apps
|
2022-11-10 11:25:33 +00:00
|
|
|
|
|
|
|
home.programming.editors.vscode
|
2022-11-11 16:32:26 +00:00
|
|
|
home.programming.languages.rust
|
2022-11-10 11:25:33 +00:00
|
|
|
home.programming.languages.nix
|
|
|
|
];
|
|
|
|
home.stateVersion = "22.05";
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall.enable = true;
|
|
|
|
networking.firewall.allowPing = true;
|
|
|
|
|
2023-05-25 13:41:20 +01:00
|
|
|
networking.firewall.allowedTCPPorts = [8088];
|
|
|
|
|
2022-11-10 11:25:33 +00:00
|
|
|
networking.hostName = "tablet";
|
|
|
|
time.timeZone = "Europe/London";
|
|
|
|
|
2022-11-23 15:58:12 +00:00
|
|
|
system.stateVersion = "22.05";
|
2022-11-10 11:25:33 +00:00
|
|
|
}
|