28 lines
660 B
Nix
28 lines
660 B
Nix
{ hostsPath, usersPath, ... }:
|
|
|
|
let
|
|
asusData = import (hostsPath + "/asus-gl553vd/data.secret.nix");
|
|
homeData = import (hostsPath + "/home/data.secret.nix");
|
|
in
|
|
{
|
|
imports = [ (usersPath + "/jan") ];
|
|
|
|
home-manager.users.jan = {
|
|
local.window-manager = {
|
|
xmonad.projects = import ./xmonad-projects.secret.nix;
|
|
};
|
|
|
|
local.programs.dev-tools.k8s.enable = true;
|
|
|
|
local.programs.libreoffice.enable = false;
|
|
|
|
local.services.lan-mouse.settings = {
|
|
port = asusData.lan-mouse.port;
|
|
connections.left = {
|
|
hostname = "home";
|
|
ips = [ homeData.addr ];
|
|
port = homeData.lan-mouse.port;
|
|
};
|
|
};
|
|
};
|
|
}
|