summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-04-27 19:26:22 +0000
committerAlyssa Ross <hi@alyssa.is>2023-04-27 19:26:22 +0000
commit69393c7c80c43349c907d516c69eaf557b443304 (patch)
tree2097f109ff5a328c6b99226d4b8ec407b9682c1f /host
parent8c5a4707b7efffee2f038909fa87e092c47e8ab9 (diff)
downloadspectrum-69393c7c80c43349c907d516c69eaf557b443304.tar
spectrum-69393c7c80c43349c907d516c69eaf557b443304.tar.gz
spectrum-69393c7c80c43349c907d516c69eaf557b443304.tar.bz2
spectrum-69393c7c80c43349c907d516c69eaf557b443304.tar.lz
spectrum-69393c7c80c43349c907d516c69eaf557b443304.tar.xz
spectrum-69393c7c80c43349c907d516c69eaf557b443304.tar.zst
spectrum-69393c7c80c43349c907d516c69eaf557b443304.zip
Run deadnix
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'host')
-rw-r--r--host/initramfs/default.nix2
-rw-r--r--host/initramfs/extfs.nix2
-rw-r--r--host/initramfs/shell.nix2
-rw-r--r--host/rootfs/shell.nix2
4 files changed, 3 insertions, 5 deletions
diff --git a/host/initramfs/default.nix b/host/initramfs/default.nix
index 22dcbed..899907e 100644
--- a/host/initramfs/default.nix
+++ b/host/initramfs/default.nix
@@ -18,8 +18,6 @@ config.pkgs.callPackage (
 let
   inherit (lib) concatMapStringsSep;
 
-  linux = rootfs.kernel;
-
   modules = makeModulesClosure {
     inherit (rootfs) firmware kernel;
     rootModules = with rootfs.nixosAllHardware.config.boot.initrd;
diff --git a/host/initramfs/extfs.nix b/host/initramfs/extfs.nix
index 66be95c..6f32bca 100644
--- a/host/initramfs/extfs.nix
+++ b/host/initramfs/extfs.nix
@@ -1,7 +1,7 @@
 # SPDX-FileCopyrightText: 2021-2022 Alyssa Ross <hi@alyssa.is>
 # SPDX-License-Identifier: MIT
 
-{ config, runCommand, e2fsprogs, tar2ext4 }:
+{ config, runCommand, e2fsprogs }:
 
 let
   netvm = import ../../vm/sys/net {
diff --git a/host/initramfs/shell.nix b/host/initramfs/shell.nix
index 73e215d..69dcd8f 100644
--- a/host/initramfs/shell.nix
+++ b/host/initramfs/shell.nix
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: MIT
 # SPDX-FileCopyrightText: 2021-2022 Alyssa Ross <hi@alyssa.is>
 
-import ../../lib/eval-config.nix ({ config, ... } @ args:
+import ../../lib/eval-config.nix ({ config, ... }:
 
 let
   inherit (config) pkgs;
diff --git a/host/rootfs/shell.nix b/host/rootfs/shell.nix
index fea9b16..9f75835 100644
--- a/host/rootfs/shell.nix
+++ b/host/rootfs/shell.nix
@@ -2,7 +2,7 @@
 # SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is>
 # SPDX-FileCopyrightText: 2022 Unikie
 
-import ../../lib/eval-config.nix ({ config, ... } @ args:
+import ../../lib/eval-config.nix ({ config, ... }:
 
 let
   rootfs = import ./. { inherit config; };