about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-26 08:52:39 +0200
committerSoispha <soispha@vhack.eu>2023-05-26 08:52:39 +0200
commitb33a86303986047f56b574118842296b80302913 (patch)
tree89a7728a05531cbf663efb1c5537ba554caabfac
parentDocs(todo): Update (diff)
downloadnixos-config-b33a86303986047f56b574118842296b80302913.tar.gz
nixos-config-b33a86303986047f56b574118842296b80302913.zip
Fix(host/marduk): Override the iso name, to avoid a merge conflict
-rw-r--r--flake/default.nix5
-rw-r--r--flake/packages/default.nix1
-rw-r--r--hosts/marduk/default.nix4
3 files changed, 8 insertions, 2 deletions
diff --git a/flake/default.nix b/flake/default.nix
index 834d0b0c..b3e18ca7 100644
--- a/flake/default.nix
+++ b/flake/default.nix
@@ -112,7 +112,10 @@ in {
       agenix
       ;
   };
-  packages."${system}" = import ./packages {inherit nixos-generators defaultSpecialArgs pkgs sysLib;};
+  packages."${system}" = import ./packages {
+    inherit nixos-generators defaultSpecialArgs pkgs sysLib;
+    inherit (pkgs) lib;
+  };
 
   apps."${system}" = import ./apps {inherit self system;};
 
diff --git a/flake/packages/default.nix b/flake/packages/default.nix
index 666fa20a..8ca00e98 100644
--- a/flake/packages/default.nix
+++ b/flake/packages/default.nix
@@ -4,6 +4,7 @@
   defaultSpecialArgs,
   pkgs,
   sysLib,
+  lib,
   ...
 }: {
   iso = nixos-generators.nixosGenerate {
diff --git a/hosts/marduk/default.nix b/hosts/marduk/default.nix
index aae467a5..a45d9efd 100644
--- a/hosts/marduk/default.nix
+++ b/hosts/marduk/default.nix
@@ -1,5 +1,5 @@
 # vim: ts=2
-{...}: {
+{lib, ...}: {
   imports = [
     ./hardware
     ./networking.nix
@@ -8,6 +8,8 @@
   console = {
     keyMap = "dvorak";
   };
+  # needed to override defaults
+  isoImage.isoName = lib.mkForce "nixos-iso";
 
   system.stateVersion = "23.05";
 }