diff --git a/flake.nix b/flake.nix index bbab807e..c0f5a8f9 100644 --- a/flake.nix +++ b/flake.nix @@ -117,8 +117,8 @@ # quitman-rpi4 = libx.deploy { hostname = "quitman-rpi4"; system = "aarch64-linux"; }; }; imageConfigurations = { - nixos-linode-img = libx.mkMinImage { hostname = "nixos-linode-img"; format = "linode"; }; - nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; format = "sd-aarch64"; system = "aarch64-linux"; }; + nixos-linode-img = libx.mkMinImage { hostname = "nixos-linode-img"; format = "linode"; }; + nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; format = "sd-aarch64"; system = "aarch64-linux"; }; nixos-iso-console = libx.mkImage { hostname = "nixos-iso-console"; format = "iso"; }; nixos-iso-desktop = libx.mkImage { hostname = "nixos-iso-desktop"; format = "iso"; desktop = "plasma6"; unfree = true; }; }; diff --git a/lib/default.nix b/lib/default.nix index af118e1a..c88dc7ff 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -135,8 +135,6 @@ config.allowUnfree = unfree; hostPlatform = system; }; - # For Logseq / Obsidian - nixpkgs.config.permittedInsecurePackages = [ "electron-27.3.11" ]; }; modules = [ @@ -165,12 +163,16 @@ pkgs = import inputs.${repo} { inherit system; config.allowUnfree = unfree; + # For Logseq / Obsidian + config.permittedInsecurePackages = [ "electron-27.3.11" ]; hostPlatform = system; }; # Some packages (ie, Vintage Story) I want to keep on unstable no matter what default repo I use pkgs-unstable = import inputs.nixpkgs-unstable { inherit system; config.allowUnfree = unfree; + # For Logseq / Obsidian + config.permittedInsecurePackages = [ "electron-27.3.11" ]; hostPlatform = system; }; };