Move Bluetooth and Syncthing configuration
This commit is contained in:
parent
0ea175f41b
commit
5d8920a349
7
fragments/hardware/bluetooth.nix
Normal file
7
fragments/hardware/bluetooth.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ...}:
|
||||
{
|
||||
hardware.bluetooth = {
|
||||
enable = lib.mkDefault true;
|
||||
powerOnBoot = lib.mkDefault true;
|
||||
};
|
||||
}
|
9
fragments/software/syncthing.nix
Normal file
9
fragments/software/syncthing.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -45,18 +45,6 @@
|
||||
|
||||
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
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
# boot.loader.systemd-boot.enable = true;
|
||||
|
@ -5,6 +5,8 @@
|
||||
./base.nix
|
||||
../fragments/sound.nix
|
||||
../fragments/multimedia.nix
|
||||
../fragments/software/syncthing.nix
|
||||
../fragments/hardware/bluetooth.nix
|
||||
];
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
|
Loading…
x
Reference in New Issue
Block a user