Files
sydnix/outputs/homeConfigurations.nix
Madeleine Sydney c48a93ad10 feat: Add host sydpc
My, this is a lot TwT.  Much work was batched as part of the transition from
guix-rebound to nixos-testbed/sydpc.

- Discord/Vesktop module & config.
- Syncthing setup.
- Assorted Emacs changes.
- Waybar config.
- Niri config.
- Steam config.
- Some MPD.
- Stylix config.
- Files/Impermanence things.
- Enable Ghostty.
- God knows what else.
2025-03-20 09:02:25 -06:00

29 lines
757 B
Nix
Executable File

{ ... }@inputs:
let users = builtins.readDir ../users;
mkUser = username: _: {
imports = [
(import ../users/${username}/default.nix).homeConfiguration
inputs.self.homeManagerModules.default
inputs.sops-nix.homeManagerModules.sops
inputs.impermanence.homeManagerModules.impermanence
inputs.nixcord.homeManagerModules.nixcord
# Directory name should always match username.
({ ... }: { home.username = username; })
# TODO: Move to default module.
({ lib, ... }: {
nix = {
settings.experimental-features =
lib.mkDefault
[ "nix-command" "flakes" ];
};
})
];
};
in
builtins.mapAttrs mkUser users