Merge branch 'main' of github.com:FabricSoul/nixos-configs

This commit is contained in:
FabricSoul 2025-07-02 17:27:05 -04:00
commit d706977dbe
13 changed files with 180 additions and 176 deletions

View file

@ -0,0 +1,12 @@
{
config,
pkgs,
...
}: {
# Enable Bluetooth
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
services.blueman.enable = true;
}

View file

@ -0,0 +1,12 @@
{pkgs, ...}: {
i18n.inputMethod = {
type = "fcitx5";
enable = true;
fcitx5.addons = with pkgs; [
fcitx5-chinese-addons
fcitx5-pinyin-zhwiki
fcitx5-pinyin-moegirl
fcitx5-pinyin-minecraft
];
};
}

View file

@ -0,0 +1,4 @@
# hosts/common/optional/flatpak.nix
{...}: {
services.flatpak.enable = true;
}

View file

@ -0,0 +1,8 @@
{...}: {
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true;
openFirewall = true;
};
}

View file

@ -14,6 +14,10 @@
../common/optional/nvidia.nix
../common/optional/docker.nix
../common/optional/steam.nix
../common/optional/flatpak.nix
../common/optional/fcitx5.nix
../common/optional/bluetooth.nix
../common/optional/sunshine.nix
];
# Bootloader

View file

@ -16,6 +16,8 @@
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
hardware.enableRedistributableFirmware = true;
# Firmware packages
hardware.firmware = with pkgs; [
linux-firmware