adding first steps to cnixlab and some small fixes

This commit is contained in:
2025-03-22 06:03:07 +01:00
parent 488f075f74
commit 55ce423924
25 changed files with 868 additions and 180 deletions

49
users/cnstlab/default.nix Normal file
View File

@@ -0,0 +1,49 @@
{
pkgs,
lib,
config,
# osConfig,
...
}:
# let
# isCnixpad = osConfig.networking.hostName == "cnixpad";
# in
{
imports = [
./modules
./git.nix
];
# ++ lib.optionals isCnixpad [./cpmodules.nix];
home = {
username = "cnst";
homeDirectory = "/home/cnst";
stateVersion = "23.11";
extraOutputsToInstall = ["doc" "devdoc"];
packages = with pkgs; [
# misc.system
bun
];
sessionVariables = {
BROWSER = "zen";
EDITOR = "hx";
TERM = "xterm-256color";
# VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json";
# STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/cnst/.steam/root/compatibilitytools.d";
# QT_QPA_PLATFORM = "wayland";
# XDG_SESSION_TYPE = "wayland";
};
};
manual = {
html.enable = false;
json.enable = false;
manpages.enable = false;
};
programs.home-manager.enable = true;
# systemd.user.targets.tray.Unit.Requires = lib.mkForce ["graphical-session.target"];
}