fix(nix): bring up to feature parity

This commit is contained in:
Mohammad Rafiq 2025-07-09 04:43:48 +08:00
parent 738a7b95d2
commit a6bd611c25
No known key found for this signature in database
4 changed files with 22 additions and 4 deletions

View file

@ -9,6 +9,7 @@
gdh = "git diff HEAD";
};
programs.git = {
enable = true;
signing.signByDefault = true;
extraConfig = {
init.defaultBranch = "prime";

View file

@ -21,9 +21,15 @@
scale = "2";
};
};
extraCfg.server.web-apps = {
comfy-ui.enable = true;
sd-webui-forge.enable = true;
extraCfg = {
machine = {
bluetooth.enable = true;
usb.automount = true;
};
server.web-apps = {
comfy-ui.enable = true;
sd-webui-forge.enable = true;
};
};
};
apollo = {

View file

@ -1,9 +1,14 @@
{ config, ... }:
let
inherit (config.flake) manifest;
in
{
flake.modules.homeManager.default =
{ manifest, config, ... }:
{ config, ... }:
{
home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config";
programs.git = {
enable = true;
userName = manifest.users.${config.home.username}.name;
userEmail = manifest.users.${config.home.username}.email;
signing.key = "~/.ssh/id_ed25519.pub";

6
nix/modules/cli/nix.nix Normal file
View file

@ -0,0 +1,6 @@
{
flake.modules.nixos.default.nix.settings.experimental-features = [
"nix-command"
"flakes"
];
}