system/hosts/home/users/jan.nix

63 lines
1.2 KiB
Nix
Raw Normal View History

{ pkgs, hostsPath, usersPath, ... }:
2024-04-16 02:51:46 +03:00
let
homeData = import (hostsPath + "/home/data.secret.nix");
asusData = import (hostsPath + "/asus-gl553vd/data.secret.nix");
in
2024-04-16 02:51:46 +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;
};
local.services.lan-mouse.settings = {
port = homeData.lan-mouse.port;
connections.left = {
hostname = "asus";
ips = [ asusData.addr ];
port = asusData.lan-mouse.port;
};
};
2024-04-16 02:51:46 +03:00
local.programs.editors.arduino-ide.enable = true;
local.programs.dev-tools.k8s.enable = true;
local.programs.libreoffice = {
enable = true;
spellCheckDicts = with pkgs.hunspellDicts; [
ru_RU
en_US
];
};
# Extra packages
home.packages = with pkgs.unstable; [
# game dev
2024-04-16 02:51:46 +03:00
blender
godot_4
libresprite
# 3d printer
cura
2024-04-16 02:51:46 +03:00
# electronics
kicad-small
# librepcb
# tools
bind.dnsutils
kubo # ipfs
2024-04-16 02:51:46 +03:00
];
# games
local.games = {
mindustry.enable = true;
widelands.enable = true;
};
};
}