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
|
|
|
|
################################################################################
|
2024-08-22 23:09:40 +03:00
|
|
|
services.ollama = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.unstable.ollama;
|
|
|
|
};
|
2024-08-22 22:27:39 +03:00
|
|
|
|
|
|
|
local.programs.browsers.tor-browser.enable = true;
|
|
|
|
|
2024-09-06 03:12:54 +03:00
|
|
|
local.programs.communication = {
|
|
|
|
telegram = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.unstable.tdesktop;
|
|
|
|
};
|
|
|
|
simplex-chat = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.unstable.simplex-chat-desktop;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-22 22:27:39 +03:00
|
|
|
environment.shellInit = ''
|
2024-09-06 10:41:58 +03:00
|
|
|
[ -n "$DISPLAY" ] && ${pkgs.xorg.xhost}/bin/xhost +local: > /dev/null || true
|
2024-08-22 22:27:39 +03:00
|
|
|
'';
|
2024-04-16 02:51:46 +03:00
|
|
|
}
|