diff options
| author | Fuwn <[email protected]> | 2024-10-23 03:36:09 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-23 03:36:09 -0700 |
| commit | 5ae4bc806b34c0ca80567478ba2a593ad6189ebc (patch) | |
| tree | 11c7d0978122706bd1e4dac2a1519f4b2e811e91 /home | |
| parent | home: move rice to shared (diff) | |
| download | nixos-config-5ae4bc806b34c0ca80567478ba2a593ad6189ebc.tar.xz nixos-config-5ae4bc806b34c0ca80567478ba2a593ad6189ebc.zip | |
home: simplify akashi module population
Diffstat (limited to 'home')
| -rw-r--r-- | home/ebisu/akashi/default.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/home/ebisu/akashi/default.nix b/home/ebisu/akashi/default.nix index 9a2c86f..0722e8f 100644 --- a/home/ebisu/akashi/default.nix +++ b/home/ebisu/akashi/default.nix @@ -1,11 +1,9 @@ { config, self, ... }: { - imports = - let - homeModules = "${self}/home/${config.home.username}"; - in - [ - "${homeModules}/core" - "${homeModules}/shared" - ]; + imports = ( + builtins.map (module: "${self}/home/${config.home.username}/${module}") [ + "core" + "shared" + ] + ); } |