aboutsummaryrefslogtreecommitdiffstats
path: root/modules/nixos
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2026-09-17 13:17:44 +0200
committerGravatar Tom van der Lee <tom@vanderlee.io>2026-09-17 13:17:44 +0200
commite91a12c68901d761812a855559331b9a7462a170 (patch)
tree428cf9886633b87e7345242640f0ef433a180615 /modules/nixos
parent41db5fc767fbe5a5453b2fa0583de8c3b2cf4021 (diff)
downloaddesktop-flake-e91a12c68901d761812a855559331b9a7462a170.tar.gz
desktop-flake-e91a12c68901d761812a855559331b9a7462a170.tar.bz2
desktop-flake-e91a12c68901d761812a855559331b9a7462a170.zip
Add most-used dev tools, sshd/firewall, bash+liquidprompt shell
modules/home/dev-tools.nix provisions the developer's evidenced most- used CLI/client tooling (gh, tmux, htop, yq-go, tree-sitter, docker, docker-compose, kubectl, awscli2). modules/home/shell.nix drops zsh/ starship/direnv in favor of bash + liquidprompt, both left entirely to the user's own dotfiles for config since home-manager can't own ~/.bashrc without conflicting with it. modules/nixos/common.nix adds sshd (key-only auth) and a firewall baseline for future NixOS hosts.
Diffstat (limited to 'modules/nixos')
-rw-r--r--modules/nixos/common.nix17
1 files changed, 14 insertions, 3 deletions
diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix
index 5427414..2e70b15 100644
--- a/modules/nixos/common.nix
+++ b/modules/nixos/common.nix
@@ -13,11 +13,22 @@
13 time.timeZone = lib.mkDefault "Etc/UTC"; 13 time.timeZone = lib.mkDefault "Etc/UTC";
14 i18n.defaultLocale = lib.mkDefault "en_US.UTF-8"; 14 i18n.defaultLocale = lib.mkDefault "en_US.UTF-8";
15 15
16 programs.zsh.enable = true;
17
18 users.users.tom = { 16 users.users.tom = {
19 isNormalUser = true; 17 isNormalUser = true;
20 extraGroups = [ "wheel" ]; 18 extraGroups = [ "wheel" ];
21 shell = pkgs.zsh; 19 shell = pkgs.bash;
20 };
21
22 services.openssh = {
23 enable = true;
24 settings = {
25 PasswordAuthentication = false;
26 PermitRootLogin = "no";
27 };
28 };
29
30 networking.firewall = {
31 enable = true;
32 allowedTCPPorts = [ 22 ];
22 }; 33 };
23} 34}