From 555f3830b62f84ec7c22675a3e6aa2ccf17c182b Mon Sep 17 00:00:00 2001 From: Bradley Nelson Date: Mon, 9 Dec 2024 22:36:06 -0700 Subject: [PATCH] fix: remove obsolete Nix configuration files for delta setup --- nixos/delta/default.nix | 23 ----------------------- nixos/delta/hardware-configuration.nix | 15 --------------- 2 files changed, 38 deletions(-) delete mode 100644 nixos/delta/default.nix delete mode 100644 nixos/delta/hardware-configuration.nix diff --git a/nixos/delta/default.nix b/nixos/delta/default.nix deleted file mode 100644 index 544cbfb1..00000000 --- a/nixos/delta/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, modulesPath, pkgs, ... }: -{ - imports = - [ - # Include the results of the hardware scan. - ./hardware-configuration.nix - (modulesPath + "/installer/sd-card/sd-image.nix") - (modulesPath + "/installer/sd-card/sd-image-aarch64.nix") - ]; - disabledModules = [ - "profiles/all-hardware.nix" - "profiles/base.nix" - ]; - - boot.loader.systemd-boot.enable = lib.mkForce false; - boot.loader.efi.canTouchEfiVariables = lib.mkForce false; - - services.cage = { - enable = true; - user = "bcnelson"; - program = "${pkgs.firefox}/bin/firefox -kiosk https://dashy.h.b.nel.family"; - }; -} diff --git a/nixos/delta/hardware-configuration.nix b/nixos/delta/hardware-configuration.nix deleted file mode 100644 index b40f09f9..00000000 --- a/nixos/delta/hardware-configuration.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ inputs, ... }: - -{ - imports = - [ - inputs.nixos-hardware.nixosModules.raspberry-pi-4 - ]; - nixpkgs.hostPlatform.system = "aarch64-linux"; - nixpkgs.overlays = [ - (_final: super: { - makeModulesClosure = x: - super.makeModulesClosure (x // { allowMissing = true; }); - }) - ]; -}