mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 16:47:23 +08:00
et
This commit is contained in:
parent
0b38fa22ef
commit
d5eaa97e36
4 changed files with 15 additions and 8 deletions
|
|
@ -13,6 +13,7 @@ in
|
|||
./configuration.nix
|
||||
./home-media.nix
|
||||
(self + /modules/nixos/linux/lxd.nix)
|
||||
(self + /modules/nixos/linux/eternal-terminal.nix)
|
||||
# (self + /modules/nixos/linux/vira.nix)
|
||||
(self + /modules/nixos/shared/github-runner.nix)
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,13 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.bash = {
|
||||
# https://just.systems/man/en/chapter_65.html
|
||||
# FIXME: doesn't work (macos)
|
||||
initExtra = ''
|
||||
# complete -F _just -o bashdefault -o default j
|
||||
'';
|
||||
};
|
||||
|
||||
home.shellAliases.j = "just";
|
||||
home.packages = with pkgs; [ just ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,6 +29,10 @@ in
|
|||
nixpkgs-fmt
|
||||
just
|
||||
|
||||
eternal-terminal
|
||||
|
||||
uv # For running Python stuff quickly.
|
||||
|
||||
# AI
|
||||
gemini-cli
|
||||
google-cloud-sdk
|
||||
|
|
|
|||
10
modules/nixos/linux/eternal-terminal.nix
Normal file
10
modules/nixos/linux/eternal-terminal.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
services.eternal-terminal.enable = true;
|
||||
|
||||
# Automatically open firewall port for eternal-terminal
|
||||
networking.firewall.allowedTCPPorts = lib.optional
|
||||
config.services.eternal-terminal.enable
|
||||
config.services.eternal-terminal.port;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue