Compare commits

...

2 Commits

4 changed files with 46 additions and 2 deletions

View File

@ -53,7 +53,12 @@
# Enable host # Enable host
networking.hosts = { networking.hosts = {
"127.0.0.1" = [ "adguard.timo.bmrs.nl" "git.timo.bmrs.nl" "auth.timo.bmrs.nl" "ldap.timo.bmrs.nl" "dozzle.timo.bmrs.nl" "home.timo.bmrs.nl" "immich.timo.bmrs.nl" "paperless.timo.bmrs.nl" "search.timo.bmrs.nl" ]; "127.0.0.1" = [
"tbmrs.nl"
"auth.tbmrs.nl"
"forgejo.tbmrs.nl"
"immich.tbmrs.nl"
];
}; };
# Bootloader. # Bootloader.
@ -69,7 +74,7 @@
networking.firewall = { networking.firewall = {
enable = true; enable = true;
allowedTCPPorts = [ 80 443 53 ]; allowedTCPPorts = [ 22 80 443 53 ];
allowedUDPPorts = [ 80 443 53 ]; allowedUDPPorts = [ 80 443 53 ];
}; };

View File

@ -24,6 +24,7 @@
applications.thunderbird.enable = true; applications.thunderbird.enable = true;
applications.yazi.enable = true; applications.yazi.enable = true;
applications.zellij.enable = true; applications.zellij.enable = true;
applications.nushell.enable = true;
services.nextcloud-sync.enable = true; services.nextcloud-sync.enable = true;

View File

@ -0,0 +1,37 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.settings.applications.nushell;
in {
options = {
settings.applications.nushell.enable = lib.mkOption {
type = lib.types.bool;
description = ''
Enable nushell shell
'';
default = false;
};
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
eza
bat
];
programs.bash = {
enable = false;
};
programs.nushell = {
enable = true;
};
programs.starship = {
enable = true;
enableNushellIntegration = true;
};
};
}

View File

@ -13,6 +13,7 @@
./applications/thunderbird.nix ./applications/thunderbird.nix
./applications/yazi.nix ./applications/yazi.nix
./applications/zellij.nix ./applications/zellij.nix
./applications/nushell.nix
./services/nextcloud.nix ./services/nextcloud.nix
./services/podman.nix ./services/podman.nix