Move Bluetooth and Syncthing configuration

This commit is contained in:
NullBite 2023-12-29 04:35:08 -05:00
parent 0ea175f41b
commit 5d8920a349
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
4 changed files with 18 additions and 12 deletions

View File

@ -0,0 +1,7 @@
{ config, lib, pkgs, ...}:
{
hardware.bluetooth = {
enable = lib.mkDefault true;
powerOnBoot = lib.mkDefault true;
};
}

View File

@ -0,0 +1,9 @@
{ config, lib, pkgs, ...}:
{
services.syncthing = {
enable = lib.mkDefault true;
user = lib.mkDefault "nullbite";
dataDir = lib.mkDefault "/home/nullbite/Documents";
configDir = lib.mkDefault "/home/nullbite/.config/syncthing";
};
}

View File

@ -45,18 +45,6 @@
services.xserver.videoDrivers = ["amdgpu"]; services.xserver.videoDrivers = ["amdgpu"];
services.syncthing = {
enable = true;
user = "nullbite";
dataDir = "/home/nullbite/Documents";
configDir = "/home/nullbite/.config/syncthing";
};
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
# {{{ old config # {{{ old config
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
# boot.loader.systemd-boot.enable = true; # boot.loader.systemd-boot.enable = true;

View File

@ -5,6 +5,8 @@
./base.nix ./base.nix
../fragments/sound.nix ../fragments/sound.nix
../fragments/multimedia.nix ../fragments/multimedia.nix
../fragments/software/syncthing.nix
../fragments/hardware/bluetooth.nix
]; ];
# Enable the X11 windowing system. # Enable the X11 windowing system.