add ssh for server, add vscodium for pc, refactor hostnames

This commit is contained in:
Chris Kruining 2025-03-02 13:54:21 +01:00
parent b06525436b
commit f174b610d8
7 changed files with 55 additions and 8 deletions

View file

@ -0,0 +1,18 @@
{ config, options, lib, pkgs, ... }:
let
inherit (lib.meta) getExe;
inherit (lib.modules) mkIf;
cfg = config.modules.desktop.editors.vscodium;
in
{
options.modules.desktop.editors.vscodium = let
inherit (lib.options) mkEnableOption;
in { enable = mkEnableOption "vscodium"; };
config = mkIf cfg.enable {
user.packages = attrValues {
inherit (pkgs) vscodium;
};
};
}