about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-15 14:32:53 +0900
committersefidel <contact@sefidel.net>2023-02-15 15:26:43 +0900
commit08d7136a2e3150dd898cf2d2d3756801dfb407bd (patch)
treea43164886b2238b070f12f004d1ae0ecf56a77ac /lib
parentf8d602464b299533806e72986a846d2d8025482e (diff)
downloadnixrc-08d7136a2e3150dd898cf2d2d3756801dfb407bd.tar.gz
nixrc-08d7136a2e3150dd898cf2d2d3756801dfb407bd.zip
feat(nixos/kompakt): use flakes for asahi-related dependencies
Imports are done directly inside the system configuration file to ensure
one doesn't forget to import the required modules.
Diffstat (limited to 'lib')
-rw-r--r--lib/mk_system.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mk_system.nix b/lib/mk_system.nix
index 9916a2c..c813169 100644
--- a/lib/mk_system.nix
+++ b/lib/mk_system.nix
@@ -10,9 +10,10 @@ nixpkgs.lib.nixosSystem (
   {
     system = system;
 
+    specialArgs = args;
+
     modules = [
       {
-        _module.args = args;
         networking.hostName = name;
         nix.flakes.enable = true;
         system.configurationRevision = self.rev or "dirty";