about summary refs log tree commit diff stats
path: root/flake/nixosConfigurations
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-01 15:31:42 +0200
committerSoispha <soispha@vhack.eu>2023-08-01 15:42:54 +0200
commit0a608bd781dcda40144097b007fac0a0c60a8ee1 (patch)
treee69fbc1fd0e15e3b86f31f47b776df21f6f0170d /flake/nixosConfigurations
parentFix(hm/conf/gammastep): Use lighter settings on laptops (diff)
downloadnixos-config-0a608bd781dcda40144097b007fac0a0c60a8ee1.tar.gz
nixos-config-0a608bd781dcda40144097b007fac0a0c60a8ee1.zip
Refactor(treewide): Move module configuration in separate files
Diffstat (limited to '')
-rw-r--r--flake/nixosConfigurations/default.nix24
1 files changed, 2 insertions, 22 deletions
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 =