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"; gdh = "git diff HEAD";
}; };
programs.git = { programs.git = {
enable = true;
signing.signByDefault = true; signing.signByDefault = true;
extraConfig = { extraConfig = {
init.defaultBranch = "prime"; init.defaultBranch = "prime";

View file

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

View file

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