Files
sydnix/outputs/homeConfigurations.nix
Madeleine Sydney ceb7bdf92e fix: Formatting
Working:
  - The daemon
  - Mutable config — well, kinda. I'm not yet sure how it will interact with
    `emacsWithPackagesFromUsePackage`.
  - Packages via Nixpkgs
2025-01-04 02:48:55 -07:00

28 lines
707 B
Nix

{ ... }@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
# 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