mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2025-08-04 01:00:22 -04:00
Merge branch 'main' of github.com:FabricSoul/nixos-configs
This commit is contained in:
commit
d706977dbe
13 changed files with 180 additions and 176 deletions
12
hosts/common/optional/bluetooth.nix
Normal file
12
hosts/common/optional/bluetooth.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# Enable Bluetooth
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
};
|
||||
services.blueman.enable = true;
|
||||
}
|
12
hosts/common/optional/fcitx5.nix
Normal file
12
hosts/common/optional/fcitx5.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
4
hosts/common/optional/flatpak.nix
Normal file
4
hosts/common/optional/flatpak.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
# hosts/common/optional/flatpak.nix
|
||||
{...}: {
|
||||
services.flatpak.enable = true;
|
||||
}
|
8
hosts/common/optional/sunshine.nix
Normal file
8
hosts/common/optional/sunshine.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{...}: {
|
||||
services.sunshine = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
capSysAdmin = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
# Firmware packages
|
||||
hardware.firmware = with pkgs; [
|
||||
linux-firmware
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue