2024-05-10 02:37:26 +03:00
|
|
|
{ pkgs, hostsPath, usersPath, ... }:
|
2024-04-16 02:51:46 +03:00
|
|
|
|
2024-04-16 13:14:23 +03:00
|
|
|
let
|
2024-05-10 02:37:26 +03:00
|
|
|
homeData = import (hostsPath + "/home/data.secret.nix");
|
|
|
|
asusData = import (hostsPath + "/asus-gl553vd/data.secret.nix");
|
2024-04-16 13:14:23 +03:00
|
|
|
in
|
2024-04-16 02:51:46 +03:00
|
|
|
{
|
2024-05-10 02:37:26 +03:00
|
|
|
imports = [ (usersPath + "/jan") ];
|
2024-04-16 02:51:46 +03:00
|
|
|
|
|
|
|
home-manager.users.jan = {
|
|
|
|
local.window-manager = {
|
|
|
|
xmonad.projects = import ./xmonad-projects.secret.nix;
|
|
|
|
};
|
|
|
|
|
2024-04-16 13:14:23 +03:00
|
|
|
local.services.lan-mouse.settings = {
|
|
|
|
port = homeData.lan-mouse.port;
|
|
|
|
connections.left = {
|
|
|
|
hostname = "asus";
|
|
|
|
ips = [ asusData.addr ];
|
|
|
|
port = asusData.lan-mouse.port;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-11-28 16:48:21 +03:00
|
|
|
# local.programs.editors.arduino-ide.enable = true;
|
2024-04-16 02:51:46 +03:00
|
|
|
|
|
|
|
local.programs.dev-tools.k8s.enable = true;
|
|
|
|
|
|
|
|
local.programs.libreoffice = {
|
|
|
|
enable = true;
|
|
|
|
spellCheckDicts = with pkgs.hunspellDicts; [
|
|
|
|
ru_RU
|
|
|
|
en_US
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-10-07 21:20:59 +03:00
|
|
|
local.games.endless-sky.enable = true;
|
|
|
|
|
2024-04-16 02:51:46 +03:00
|
|
|
# Extra packages
|
|
|
|
home.packages = with pkgs.unstable; [
|
2024-07-30 19:03:50 +03:00
|
|
|
## game dev
|
2024-11-28 16:47:58 +03:00
|
|
|
# blender-hip
|
|
|
|
# godot_4
|
|
|
|
# libresprite
|
2024-05-04 00:52:53 +03:00
|
|
|
|
2024-11-22 12:07:43 +03:00
|
|
|
pkgs.apache-directory-studio
|
|
|
|
|
2024-07-30 19:03:50 +03:00
|
|
|
## 3d printer
|
|
|
|
# Cannot build unstable Cura!
|
|
|
|
# See: https://github.com/NixOS/nixpkgs/issues/325896
|
|
|
|
# it's too old in the nixpkgs!
|
|
|
|
# See: https://github.com/NixOS/nixpkgs/issues/186570
|
2024-11-30 23:46:01 +03:00
|
|
|
# pkgs.cura
|
2024-04-16 02:51:46 +03:00
|
|
|
|
2024-07-30 19:03:50 +03:00
|
|
|
## electronics
|
|
|
|
# kicad-small
|
2024-04-16 02:51:46 +03:00
|
|
|
# librepcb
|
2024-05-04 00:52:53 +03:00
|
|
|
|
2024-11-28 16:47:58 +03:00
|
|
|
## tools
|
2024-05-04 00:52:53 +03:00
|
|
|
bind.dnsutils
|
2024-11-28 16:47:37 +03:00
|
|
|
|
|
|
|
## remote desktop client
|
|
|
|
# remmina
|
2024-04-16 02:51:46 +03:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|