Compare commits
2 Commits
d7056e8f38
...
bde66ffbe2
Author | SHA1 | Date | |
---|---|---|---|
bde66ffbe2 | |||
eb9ca5e5e1 |
@ -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 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
37
modules/home/applications/nushell.nix
Normal file
37
modules/home/applications/nushell.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user