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