summaryrefslogtreecommitdiff
path: root/features/system/services/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'features/system/services/hardware')
-rw-r--r--features/system/services/hardware/bluetooth.nix23
-rw-r--r--features/system/services/hardware/iwd.nix19
-rw-r--r--features/system/services/hardware/networkmanager.nix11
-rw-r--r--features/system/services/hardware/pipewire.nix15
4 files changed, 0 insertions, 68 deletions
diff --git a/features/system/services/hardware/bluetooth.nix b/features/system/services/hardware/bluetooth.nix
deleted file mode 100644
index a9829ac..0000000
--- a/features/system/services/hardware/bluetooth.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ config, pkgs, lib, ... }: let
- cfg = config.features.services.hardware.bluetooth;
-in {
- options.features.services.hardware.bluetooth.enable = lib.mkEnableOption "bluetooth";
- config = lib.mkIf cfg.enable {
- environment.systemPackages = [ pkgs.bluetui ];
- services.blueman = {
- enable = true;
- };
- hardware.bluetooth = {
- enable = true;
- powerOnBoot = true;
- };
- services.pulseaudio = {
- package = pkgs.pulseaudioFull;
- };
- hardware.bluetooth.settings = {
- General = {
- Enable = "Source,Sink,Media,Socket";
- };
- };
- };
-}
diff --git a/features/system/services/hardware/iwd.nix b/features/system/services/hardware/iwd.nix
deleted file mode 100644
index c2394bc..0000000
--- a/features/system/services/hardware/iwd.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ config, pkgs, lib, ... }: let
- cfg = config.features.services.hardware.iwd;
-in {
- options.features.services.hardware.iwd.enable = lib.mkEnableOption "iwd";
- config = lib.mkIf cfg.enable {
- environment.systemPackages = [ pkgs.impala ];
- networking.wireless.iwd = {
- enable = true;
- settings = {
- IPv6 = {
- Enabled = true;
- };
- Settings = {
- AutoConnect = true;
- };
- };
- };
- };
-}
diff --git a/features/system/services/hardware/networkmanager.nix b/features/system/services/hardware/networkmanager.nix
deleted file mode 100644
index 49cc7bc..0000000
--- a/features/system/services/hardware/networkmanager.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{ config, lib, ... }: let
- cfg = config.features.services.hardware.networkmanager;
-in {
- options.features.services.hardware.networkmanager.enable = lib.mkEnableOption "networkmanager";
- config = lib.mkIf cfg.enable {
- networking.networkmanager = {
- enable = true;
- };
- systemd.services.NetworkManager-wait-online.enable = false;
- };
-}
diff --git a/features/system/services/hardware/pipewire.nix b/features/system/services/hardware/pipewire.nix
deleted file mode 100644
index f36a0e9..0000000
--- a/features/system/services/hardware/pipewire.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ config, pkgs, lib, ... }: let
- cfg = config.features.services.hardware.pipewire;
-in {
- options.features.services.hardware.pipewire.enable = lib.mkEnableOption "pipewire";
- config = lib.mkIf cfg.enable {
- security.rtkit.enable = true;
- environment.systemPackages = [ pkgs.git ]; # Fixes a weird error
- services.pipewire = {
- enable = true;
- alsa.enable = true;
- alsa.support32Bit = true;
- pulse.enable = true;
- };
- };
-}