Compare commits
No commits in common. "main" and "24.05" have entirely different histories.
|
@ -17,8 +17,6 @@
|
||||||
./modules/prometheus.nix
|
./modules/prometheus.nix
|
||||||
./modules/kernel.nix
|
./modules/kernel.nix
|
||||||
./modules/fcitx5.nix
|
./modules/fcitx5.nix
|
||||||
./modules/programs.nix
|
|
||||||
./modules/bluetooth.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let cfg = config.voidconf.audio;
|
||||||
cfg = config.voidconf.audio;
|
in {
|
||||||
in
|
|
||||||
{
|
|
||||||
options.voidconf.audio = {
|
options.voidconf.audio = {
|
||||||
enable = mkEnableOption "Enable all the audio daemons";
|
enable = mkEnableOption "Enable all the audio daemons";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
sound.enable = true;
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.voiconf.bluetooth;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.voidconf.bluetooth = {
|
|
||||||
enable = mkEnableOption "Enables bluetooth tools";
|
|
||||||
};
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
hardware.bleutooth = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
services.blueman = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
bluez
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -6,13 +6,16 @@ in {
|
||||||
enable = mkEnableOption "Enables fcitx5 input method engine and mozc en anthy methods";
|
enable = mkEnableOption "Enables fcitx5 input method engine and mozc en anthy methods";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
i18n.inputMethod = {
|
i18n = {
|
||||||
enable = true;
|
inputMethod = {
|
||||||
type = "fcitx5";
|
enabled = "fcitx5";
|
||||||
fcitx5.addons = with pkgs; [
|
fcitx5 = {
|
||||||
fcitx5-mozc
|
addons = with pkgs; [
|
||||||
fcitx5-anthy
|
fcitx5-mozc
|
||||||
];
|
fcitx5-anthy
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,6 @@ in {
|
||||||
ubuntu_font_family
|
ubuntu_font_family
|
||||||
uiua386
|
uiua386
|
||||||
vollkorn
|
vollkorn
|
||||||
work-sans
|
|
||||||
];
|
];
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -58,8 +57,8 @@ in {
|
||||||
];
|
];
|
||||||
monospace = [
|
monospace = [
|
||||||
"Fira Code"
|
"Fira Code"
|
||||||
"Iosevka"
|
|
||||||
"JetBrains Mono"
|
"JetBrains Mono"
|
||||||
|
"Iosevka"
|
||||||
"IPAGothic"
|
"IPAGothic"
|
||||||
"Baekmuk Dotum"
|
"Baekmuk Dotum"
|
||||||
"Noto Color Emoji"
|
"Noto Color Emoji"
|
||||||
|
|
|
@ -11,9 +11,10 @@ in {
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
hardware = {
|
hardware = {
|
||||||
graphics = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true;
|
driSupport = true;
|
||||||
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
nvidia = mkIf cfg.nvidia.enable {
|
nvidia = mkIf cfg.nvidia.enable {
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.voidconf.programs;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.voidconf.programs = {
|
|
||||||
gnupg = {
|
|
||||||
enable = mkEnableOption "Enables basic GnuPG configuration";
|
|
||||||
pinentryPackage = mkOption {
|
|
||||||
default = pkgs.pinentry-qt;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
config = {
|
|
||||||
programs = {
|
|
||||||
|
|
||||||
# gpg
|
|
||||||
gnupg.agent = mkIf cfg.gnupg.enable {
|
|
||||||
enable = true;
|
|
||||||
pinentryPackage = pkgs.pinentry-qt;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -73,10 +73,7 @@ in {
|
||||||
autoRepeatInterval = 16;
|
autoRepeatInterval = 16;
|
||||||
windowManager = {
|
windowManager = {
|
||||||
windowmaker.enable = true;
|
windowmaker.enable = true;
|
||||||
xmonad = {
|
xmonad.enable = true;
|
||||||
enable = true;
|
|
||||||
extraPackages = h: with h; [ xmonad-contrib ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
displayManager.lightdm = {
|
displayManager.lightdm = {
|
||||||
enable = cfg.lightdm.enable;
|
enable = cfg.lightdm.enable;
|
||||||
|
|
Loading…
Reference in a new issue