system/hosts/asus-gl553vd/configuration.nix

52 lines
1.2 KiB
Nix
Raw Normal View History

2024-08-22 23:09:40 +03:00
{ globalData, pkgs, ... }:
2024-04-16 02:51:46 +03:00
{
imports = [
./hardware-configuration
./configs
./users
];
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
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;
};
local.programs.browsers.tor-browser.enable = true;
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 +si:localuser:$USER > /dev/null || true
'';
2024-04-16 02:51:46 +03:00
}