From 3ee2be0bc3caf476ebdf51738a804c5a1179899d Mon Sep 17 00:00:00 2001 From: _cry64 Date: Thu, 26 Feb 2026 14:50:24 +1000 Subject: [PATCH] remove unused host modules --- groups/cryos/default.nix | 6 +----- hosts/modules/core/bluetooth.nix | 12 ------------ hosts/modules/core/bootloader/grub.nix | 15 --------------- hosts/modules/core/bootloader/systemd-boot.nix | 8 -------- 4 files changed, 1 insertion(+), 40 deletions(-) delete mode 100755 hosts/modules/core/bluetooth.nix delete mode 100755 hosts/modules/core/bootloader/grub.nix delete mode 100755 hosts/modules/core/bootloader/systemd-boot.nix diff --git a/groups/cryos/default.nix b/groups/cryos/default.nix index 60e3cf3..345bf8d 100644 --- a/groups/cryos/default.nix +++ b/groups/cryos/default.nix @@ -1,8 +1,4 @@ -{ - pkgs, - lib, - ... -}: { +{lib, ...}: { imports = [ ./programs.nix ]; diff --git a/hosts/modules/core/bluetooth.nix b/hosts/modules/core/bluetooth.nix deleted file mode 100755 index 400abfc..0000000 --- a/hosts/modules/core/bluetooth.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ pkgs, ... }: - -{ - # Enable Bluetooth - hardware.bluetooth.enable = true; - hardware.bluetooth.powerOnBoot = false; - - # TODO: this should be managed by home-manager - environment.systemPackages = with pkgs; [ - overskride - ]; -} diff --git a/hosts/modules/core/bootloader/grub.nix b/hosts/modules/core/bootloader/grub.nix deleted file mode 100755 index 5d63dff..0000000 --- a/hosts/modules/core/bootloader/grub.nix +++ /dev/null @@ -1,15 +0,0 @@ -{...}: - -{ - boot.loader = { - efi = { - canTouchEfiVariables = true; - efiSysMountPoint = "/boot/efi"; - }; - grub = { - efiSupport = true; - #efiInstallAsRemovable = true; # in case canTouchEfiVariables doesn't work on your system - device = "nodev"; - }; - }; -} diff --git a/hosts/modules/core/bootloader/systemd-boot.nix b/hosts/modules/core/bootloader/systemd-boot.nix deleted file mode 100755 index 8557dec..0000000 --- a/hosts/modules/core/bootloader/systemd-boot.nix +++ /dev/null @@ -1,8 +0,0 @@ -{...}: - -{ - boot.loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; - }; -}