50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{ globalData, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration
|
|
./configs
|
|
./users
|
|
];
|
|
|
|
local.yubikey = {
|
|
enable = true;
|
|
serial = "28058247";
|
|
unplug.enable = true;
|
|
};
|
|
|
|
################################################################################
|
|
# Services
|
|
################################################################################
|
|
|
|
# Enable the Docker
|
|
virtualisation.docker.enable = true;
|
|
|
|
# Torrent
|
|
# services.transmission.enable = true;
|
|
|
|
################################################################################
|
|
# Programs
|
|
################################################################################
|
|
services.ollama = {
|
|
enable = true;
|
|
package = pkgs.unstable.ollama;
|
|
};
|
|
|
|
|
|
local.programs.communication = {
|
|
telegram = {
|
|
enable = true;
|
|
package = pkgs.unstable.tdesktop;
|
|
};
|
|
simplex-chat = {
|
|
enable = true;
|
|
package = pkgs.unstable.simplex-chat-desktop;
|
|
openFirewall = true;
|
|
};
|
|
};
|
|
|
|
environment.shellInit = ''
|
|
[ -n "$DISPLAY" ] && ${pkgs.xorg.xhost}/bin/xhost +local: > /dev/null || true
|
|
'';
|
|
}
|