reorganize

This commit is contained in:
caandt 2024-10-04 19:25:55 -05:00
parent 8b4e1a659e
commit d02c860acb

View file

@ -17,6 +17,7 @@
}; };
environment.pathsToLink = [ "/libexec" ]; environment.pathsToLink = [ "/libexec" ];
environment.localBinInPath = true;
boot.tmp.useTmpfs = true; boot.tmp.useTmpfs = true;
@ -30,6 +31,20 @@
"en_US.UTF-8/UTF-8" "en_US.UTF-8/UTF-8"
"ja_JP.UTF-8/UTF-8" "ja_JP.UTF-8/UTF-8"
]; ];
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
};
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk
source-han-sans
source-han-serif
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
services.xserver = { services.xserver = {
enable = true; enable = true;
@ -81,46 +96,34 @@
promptInit = ''PS1="[\u \W] \[\e[32;1m\]\$\[\e[0m\] "''; promptInit = ''PS1="[\u \W] \[\e[32;1m\]\$\[\e[0m\] "'';
}; };
environment.etc.bashrc.text = lib.mkAfter ''[ -f ~/.config/bash/bashrc ] && . ~/.config/bash/bashrc''; environment.etc.bashrc.text = lib.mkAfter ''[ -f ~/.config/bash/bashrc ] && . ~/.config/bash/bashrc'';
environment.localBinInPath = true;
users.users.ahnwuoa = { users.users.ahnwuoa = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
}; };
xdg.terminal-exec = {
enable = true;
settings.default = [ "Alacritty.desktop" ];
};
programs.partition-manager = { programs.partition-manager = {
enable = true; enable = true;
package = pkgs.libsForQt5.partitionmanager; package = pkgs.libsForQt5.partitionmanager;
}; };
services.udisks2.enable = true; services.udisks2.enable = true;
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
programs.nix-ld.enable = true;
hardware.graphics.enable32Bit = true;
security.doas = { security.doas = {
enable = true; enable = true;
extraRules = [ extraRules = [
{ groups = [ "wheel" ]; persist = true; } { groups = [ "wheel" ]; persist = true; }
]; ];
}; };
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk
source-han-sans
source-han-serif
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
};
security.polkit.enable = true; security.polkit.enable = true;
hardware.graphics.enable32Bit = true;
programs.nix-ld.enable = true;
xdg.terminal-exec = {
enable = true;
settings.default = [ "Alacritty.desktop" ];
};
system.stateVersion = "24.05"; system.stateVersion = "24.05";
} }