diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-10-18 22:27:26 +0200 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-10-18 22:27:26 +0200 |
| commit | fa37518d7b6fb2d197d7933233cde37ffeec7cdf (patch) | |
| tree | 79021b4de1477bc49dc830fa369cc2db02595754 /flake.nix | |
| parent | e4a3e449cd964cf565307f8c004fb48e00ebbbb3 (diff) | |
make neovim run as daemon
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -26,7 +26,7 @@ # Gets module from ./machines/ and uses the lib to define which other modules # the machine needs. - mkSystem = name: machineModule: with lib; + mkSystem = name: machineConfig: with lib; let machine = ivi.machines.${name}; in @@ -35,7 +35,7 @@ specialArgs = {inherit machine inputs;}; modules = with lib; machine.modules - ++ [machineModule] + ++ [machineConfig] ++ [({ config, ... }: { nixpkgs.overlays = with lib; [(composeManyExtensions [ (import ./overlays/vimPlugins.nix {inherit pkgs;}) @@ -47,12 +47,7 @@ in with lib; { inherit lib; nixosConfigurations = with lib; - mapAttrs - (hostname: machineConfig: - mkSystem - hostname - machineConfig) - (modulesIn ./machines); + mapAttrs mkSystem (modulesIn ./machines); deploy.nodes = mapAttrs |
