diff options
-rw-r--r-- | hosts/luna/default.nix | 7 | ||||
-rw-r--r-- | hosts/phobos/default.nix | 7 | ||||
-rw-r--r-- | hosts/vm/default.nix | 4 | ||||
-rw-r--r-- | modules/bluetooth/default.nix | 7 |
4 files changed, 11 insertions, 14 deletions
diff --git a/hosts/luna/default.nix b/hosts/luna/default.nix index 0ae0a60..7d6ce2b 100644 --- a/hosts/luna/default.nix +++ b/hosts/luna/default.nix @@ -1,12 +1,9 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - { config, pkgs, lib, secrets, hostname, inputs, user, ... }: { imports = [ - # Include the results of the hardware scan. ./hardware.nix + + ../../modules/bluetooth ]; services = { diff --git a/hosts/phobos/default.nix b/hosts/phobos/default.nix index cb96907..70c6f32 100644 --- a/hosts/phobos/default.nix +++ b/hosts/phobos/default.nix @@ -1,12 +1,9 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - { config, pkgs, lib, secrets, hostname, inputs, user, ... }: { imports = [ - # Include the results of the hardware scan. ./hardware.nix + + ../../modules/bluetooth ]; # Configure keymap in X11 diff --git a/hosts/vm/default.nix b/hosts/vm/default.nix index 5d04b2f..0150cd6 100644 --- a/hosts/vm/default.nix +++ b/hosts/vm/default.nix @@ -1,7 +1,3 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - { config, pkgs, lib, secrets, hostname, inputs, user, ... }: { imports = [ diff --git a/modules/bluetooth/default.nix b/modules/bluetooth/default.nix new file mode 100644 index 0000000..cb5443f --- /dev/null +++ b/modules/bluetooth/default.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ + hardware.bluetooth.enable = true; + + services.blueman.enable = true; +} \ No newline at end of file |