options!!

This commit is contained in:
Noa Aarts 2024-11-10 18:09:55 +01:00
parent 50d7f505f3
commit c67220302a
Signed by: noa
GPG key ID: 1850932741EFF672
3 changed files with 27 additions and 22 deletions

View file

@ -68,6 +68,23 @@
networking = {
hostName = "lambdaOS"; # Define your hostname.
networkmanager.enable = true;
# Open ports in the firewall.
firewall.allowedTCPPorts = [
53317 # Localsend
7791 # Pixelflut
38281 # Archipelago
22000 # syncthing
2283 # immich
];
firewall.allowedUDPPorts = [
53317
38281 # Archipelago
22000 # syncthing
21027 # syncthing
];
};
# Set your time zone.
@ -324,23 +341,6 @@
polkit.enable = true;
};
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [
53317 # Localsend
7791 # Pixelflut
38281 # Archipelago
22000 # syncthing
2283 # immich
];
networking.firewall.allowedUDPPorts = [
53317
38281 # Archipelago
22000 # syncthing
21027 # syncthing
];
# Or disable the firewall altogether.
# networking.firewall.enable = false;

View file

@ -80,15 +80,12 @@
dig
mtr
obs-studio
signal-desktop
btop
dconf
pipewire
lsd
localsend
blueberry
@ -187,6 +184,16 @@
programs = {
home-manager.enable = true;
zsh.shellAliases.bzzt = ''nix-shell -p mpv --command "mpv ~/Videos/BZZZM.mp4"'';
lsd = {
enable = true;
enableAliases = true;
};
man.enable = true;
obs-studio.enable = true;
ssh = {
enable = true;
compression = true;
};
};
services.syncthing = {

View file

@ -22,8 +22,6 @@ in
programs.zsh = {
enable = true;
shellAliases = lib.mkIf cfg.enableAliases {
ll = "lsd -l";
lt = "lsd -l --tree";
update = "nix flake update --commit-lock-file $HOME/nixos && sudo nixos-rebuild switch --flake $HOME/nixos";
nb = "nix build -L";
ns = "nix shell -L";