nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit 2d0798b3c77477253e58c7f5dbe418729ba32b63
parent 31a83b8a134cae0306d1c3f53718f2df43ecd71b
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Fri, 17 Jul 2026 12:59:15 +0100

Add hades WSL machine

Diffstat:
Acommon/wsl.nix | 9+++++++++
Amachines/hades.nix | 32++++++++++++++++++++++++++++++++
Mreadme.md | 1+
3 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/common/wsl.nix b/common/wsl.nix @@ -0,0 +1,9 @@ +{ vars, ... }: + +{ + wsl = { + enable = true; + # https://discourse.nixos.org/t/set-default-user-in-wsl2-nixos-distro/38328/8 + defaultUser = vars.user.username; + }; +} diff --git a/machines/hades.nix b/machines/hades.nix @@ -0,0 +1,32 @@ +# WSL work computer + +{ config, lib, pkgs, vars, ... }: + +{ + imports = [ + <nixos-wsl/modules> # include NixOS-WSL modules + ../common/home-manager.nix + ../common/networking.nix + ../common/packages.nix + ../common/syncthing.nix + ../common/user.nix + ../common/wsl.nix + ../scripts/pbx.nix + ]; + home-manager.users.${vars.user.username} = {pkgs, ...}: { imports = [ + ../home/fish.nix + ../home/neovim.nix + ../home/rbw.nix + ../home/ssh.nix + ]; + home.stateVersion = "26.05"; + }; + + environment.systemPackages = with pkgs; [ + ffmpeg + gping + nmap + ]; + + system.stateVersion = "26.05"; # Did you read the comment? +} diff --git a/readme.md b/readme.md @@ -11,6 +11,7 @@ sudo nixos-rebuild -I nixos-config=entrypoint.nix switch * `arcadia` - Intel NUC HTPC * `artemis` - Ampere VPS * `atlas` - Gaming workstation +* `hades` - Work WSL laptop * `ilias` - Optiplex NAS * `minerva` - Thinkpad Laptop