From 0a608bd781dcda40144097b007fac0a0c60a8ee1 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 1 Aug 2023 15:31:42 +0200 Subject: Refactor(treewide): Move module configuration in separate files --- flake/nixosConfigurations/default.nix | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) (limited to 'flake/nixosConfigurations') diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix index 198d9c73..f2110eb9 100644 --- a/flake/nixosConfigurations/default.nix +++ b/flake/nixosConfigurations/default.nix @@ -1,35 +1,15 @@ { system, pkgs, - nixpkgs, - sysLib, + nixpkgs_as_input, # configs defaultModules, defaultSpecialArgs, - # bins - video_pause, - yambar_cpu, - yambar_memory, - strip_js_comments, - river_init_lesser, - grades, - shell_library, - # external deps - user_js, - neovim_config, - snap-sync, - templates, - # modules - impermanence, - home-manager, - agenix, - serverphone, - disko, ... }: let generateHost = name: { name = "${name}"; - value = nixpkgs.lib.nixosSystem { + value = nixpkgs_as_input.lib.nixosSystem { inherit system pkgs; specialArgs = defaultSpecialArgs; modules = -- cgit 1.4.1