2024-08-22 23:09:40 +03:00
|
|
|
{ globalData, pkgs, ... }:
|
2024-04-16 02:51:46 +03:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration
|
|
|
|
./configs
|
|
|
|
./users
|
|
|
|
];
|
|
|
|
|
2024-06-01 03:42:04 +03:00
|
|
|
local.yubikey = {
|
|
|
|
enable = true;
|
|
|
|
serial = "28058247";
|
|
|
|
unplug.enable = true;
|
|
|
|
};
|
2024-05-18 15:42:44 +03:00
|
|
|
|
2024-04-16 02:51:46 +03:00
|
|
|
################################################################################
|
|
|
|
# Services
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Enable the Docker
|
2024-05-15 23:45:18 +03:00
|
|
|
virtualisation.docker.enable = true;
|
2024-04-16 02:51:46 +03:00
|
|
|
|
|
|
|
# Torrent
|
|
|
|
# services.transmission.enable = true;
|
2024-05-06 16:58:45 +03:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Programs
|
|
|
|
################################################################################
|
|
|
|
local.programs.browsers.tor-browser = {
|
|
|
|
enable = true;
|
|
|
|
container = {
|
|
|
|
enable = true;
|
|
|
|
externalInterface = "wg0";
|
|
|
|
sshAuthorizedKeys = globalData.publicKeys.users.jan;
|
|
|
|
};
|
|
|
|
};
|
2024-08-22 23:09:40 +03:00
|
|
|
|
|
|
|
services.ollama = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.unstable.ollama;
|
|
|
|
};
|
2024-04-16 02:51:46 +03:00
|
|
|
}
|