fix(homelab): add more resources to creative world
This commit is contained in:
1
nix/homelab/cli/templates/sync.yaml
Normal file
1
nix/homelab/cli/templates/sync.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
apiVersion: batch/v1
|
||||||
@@ -3,7 +3,7 @@ resources:
|
|||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 500Mi
|
memory: 500Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 4Gi
|
memory: 5Gi
|
||||||
cpu: 2000m
|
cpu: 2000m
|
||||||
|
|
||||||
minecraftServer:
|
minecraftServer:
|
||||||
|
|||||||
@@ -78,6 +78,7 @@
|
|||||||
jless
|
jless
|
||||||
fd
|
fd
|
||||||
dig
|
dig
|
||||||
|
just
|
||||||
];
|
];
|
||||||
programs.nix-ld.enable = lib.mkDefault true;
|
programs.nix-ld.enable = lib.mkDefault true;
|
||||||
programs.zsh.enable = lib.mkDefault true;
|
programs.zsh.enable = lib.mkDefault true;
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
oh-my-posh = import ./omp.nix;
|
oh-my-posh = import ./omp.nix;
|
||||||
eza = import ./eza.nix;
|
eza = import ./eza.nix;
|
||||||
mise = import ./mise.nix;
|
mise = import ./mise.nix;
|
||||||
|
bacon.enable = true;
|
||||||
};
|
};
|
||||||
xdg.mimeApps = import ./mime.nix;
|
xdg.mimeApps = import ./mime.nix;
|
||||||
|
|
||||||
@@ -23,27 +24,6 @@
|
|||||||
nodejs_22
|
nodejs_22
|
||||||
pnpm
|
pnpm
|
||||||
];
|
];
|
||||||
systemd.user.services.ssh-add-keys = {
|
|
||||||
Unit = {
|
|
||||||
Description = "Load SSH keys from YubiKey";
|
|
||||||
After = [ "ssh-agent.service" ];
|
|
||||||
Requires = [ "ssh-agent.service" ];
|
|
||||||
};
|
|
||||||
Service = {
|
|
||||||
Type = "oneshot";
|
|
||||||
Environment = [
|
|
||||||
"SSH_AUTH_SOCK=%t/ssh-agent"
|
|
||||||
"SSH_ASKPASS=${pkgs.lxqt.lxqt-openssh-askpass}/bin/lxqt-openssh-askpass"
|
|
||||||
"SSH_ASKPASS_REQUIRE=prefer"
|
|
||||||
"DISPLAY=:0"
|
|
||||||
];
|
|
||||||
ExecStart = "${pkgs.openssh}/bin/ssh-add -K";
|
|
||||||
RemainAfterExit = true;
|
|
||||||
};
|
|
||||||
Install = {
|
|
||||||
WantedBy = [ "default.target" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user