fix(nix): bring up to feature parity
This commit is contained in:
parent
738a7b95d2
commit
a6bd611c25
4 changed files with 22 additions and 4 deletions
|
@ -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";
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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
6
nix/modules/cli/nix.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.default.nix.settings.experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue