smaller change

This commit is contained in:
2025-12-02 11:01:47 -07:00
parent 73ac52a1f7
commit df5d85cc43

View File

@@ -5,8 +5,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = imports = [
[
./hardware-configuration.nix ./hardware-configuration.nix
../packages/rust-motd/rust-motd.nix ../packages/rust-motd/rust-motd.nix
@@ -28,7 +27,10 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
nix.settings.experimental-features = ["nix-command" "flakes"]; nix.settings.experimental-features = [
"nix-command"
"flakes"
];
services.tailscale.enable = true; services.tailscale.enable = true;
networking.hostName = "hoardfrost"; # Define your hostname. networking.hostName = "hoardfrost"; # Define your hostname.
@@ -68,8 +70,30 @@
}; };
networking.firewall.enable = true; networking.firewall.enable = true;
networking.firewall.allowPing = true; networking.firewall.allowPing = true;
networking.firewall.allowedTCPPorts = [ 22 53 137 138 139 389 445 2022 8080 5657 41641]; networking.firewall.allowedTCPPorts = [
networking.firewall.allowedUDPPorts = [ 22 53 137 138 139 389 445 2022 41641]; 22
53
137
138
139
389
445
2022
8080
5657
41641
];
networking.firewall.allowedUDPPorts = [
22
53
137
138
139
389
445
2022
41641
];
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
programs.zsh.enable = true; programs.zsh.enable = true;
@@ -78,7 +102,10 @@
users.autumn = { users.autumn = {
isNormalUser = true; isNormalUser = true;
description = "autumn"; description = "autumn";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [
"networkmanager"
"wheel"
];
}; };
}; };
@@ -96,12 +123,12 @@
toybox toybox
nodejs_24 nodejs_24
jdk17 jdk17
rustup
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget # wget
]; ];
virtualisation.podman = { virtualisation.podman = {
enable = true; enable = true;
}; };
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are