smaller change
This commit is contained in:
@@ -5,30 +5,32 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
../packages/rust-motd/rust-motd.nix
|
||||
../packages/rust-motd/rust-motd.nix
|
||||
|
||||
../services/samba.nix
|
||||
../services/openssh.nix
|
||||
../services/endlessh.nix
|
||||
# ./services/currents.nix
|
||||
#. ./services/tailscale.nix.
|
||||
../services/samba.nix
|
||||
../services/openssh.nix
|
||||
../services/endlessh.nix
|
||||
# ./services/currents.nix
|
||||
#. ./services/tailscale.nix.
|
||||
|
||||
# ./services/containerization/currents.nix
|
||||
../services/containerization/docker.nix
|
||||
../services/containerization/mealie.nix
|
||||
../services/containerization/transtun.nix
|
||||
../services/containerization/stirlingpdf.nix
|
||||
];
|
||||
# ./services/containerization/currents.nix
|
||||
../services/containerization/docker.nix
|
||||
../services/containerization/mealie.nix
|
||||
../services/containerization/transtun.nix
|
||||
../services/containerization/stirlingpdf.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
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"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -88,20 +115,20 @@
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
helix
|
||||
git
|
||||
nil
|
||||
inetutils
|
||||
nh
|
||||
toybox
|
||||
nodejs_24
|
||||
jdk17
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# wget
|
||||
helix
|
||||
git
|
||||
nil
|
||||
inetutils
|
||||
nh
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user