From f27d11ac6988f7bf3b1b6bed1d0871a32a0c98f2 Mon Sep 17 00:00:00 2001 From: tootbrute Date: Sun, 12 Jan 2025 21:00:40 +0800 Subject: [PATCH] Update NixOS config. --- nixosModules/base.nix | 11 +++++------ nixosModules/fonts.nix | 2 ++ nixosModules/home.nix | 18 ------------------ 3 files changed, 7 insertions(+), 24 deletions(-) diff --git a/nixosModules/base.nix b/nixosModules/base.nix index 0750097..fc63253 100644 --- a/nixosModules/base.nix +++ b/nixosModules/base.nix @@ -62,11 +62,11 @@ LC_TIME = "en_US.UTF-8"; }; -i18n.inputMethod = { - enable = true; - type = "ibus"; - ibus.engines = with pkgs.ibus-engines; [ libpinyin table-chinese]; - }; + i18n.inputMethod = { + enable = true; + type = "ibus"; + ibus.engines = with pkgs.ibus-engines; [ libpinyin table-chinese]; + }; # Enable the X11 windowing system. services.xserver.enable = true; @@ -88,7 +88,6 @@ i18n.inputMethod = { services.printing.enable = false; # Enable sound with pipewire. - services.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { enable = true; diff --git a/nixosModules/fonts.nix b/nixosModules/fonts.nix index 255ab7a..4c6dfef 100644 --- a/nixosModules/fonts.nix +++ b/nixosModules/fonts.nix @@ -16,6 +16,8 @@ dina-font proggyfonts iosevka + nerdfonts + ]; fonts.fontDir.enable = true; diff --git a/nixosModules/home.nix b/nixosModules/home.nix index 046cd7c..1611e66 100644 --- a/nixosModules/home.nix +++ b/nixosModules/home.nix @@ -24,24 +24,6 @@ # here is some command line tools I use frequently # feel free to add your own or remove some of them - # font stuff for alacritty - pkgs.iosevka #font program - # nerd fonts - https://search.nixos.org/packages?channel=unstable&size=50&sort=relevance&type=packages&query=nerd-fonts - nerd-fonts.iosevka - nerd-fonts.iosevka-term - nerd-fonts.fira-code - nerd-fonts.fira-mono - nerd-fonts.roboto-mono - nerd-fonts.noto - nerd-fonts.martian-mono - nerd-fonts.jetbrains-mono - nerd-fonts.iosevka-term-slab - nerd-fonts.go-mono - nerd-fonts.droid-sans-mono - nerd-fonts.fantasque-sans-mono - nerd-fonts.ubuntu-mono - nerd-fonts.hack - xreader #pdf viewer fastfetch