update conf

This commit is contained in:
caandt 2024-08-18 11:27:36 -05:00
parent 88b4e51363
commit e432fd1682

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, lib, ... }:
{ {
imports = [ ./hardware-configuration.nix ]; imports = [ ./hardware-configuration.nix ];
@ -11,6 +11,8 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.tmp.useTmpfs = true;
networking.hostName = "nixos"; networking.hostName = "nixos";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -26,6 +28,7 @@
enable = true; enable = true;
autorun = false; autorun = false;
displayManager.startx.enable = true; displayManager.startx.enable = true;
displayManager.sx.enable = true;
windowManager.awesome.enable = true; windowManager.awesome.enable = true;
desktopManager.plasma5.enable = true; desktopManager.plasma5.enable = true;
autoRepeatDelay = 200; autoRepeatDelay = 200;
@ -62,6 +65,12 @@
btop btop
cryptsetup cryptsetup
]; ];
programs.bash = {
enableCompletion = true;
promptInit = ''PS1="[\u \W] \e[32;1m\$\e[0m "'';
};
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;
@ -115,6 +124,7 @@
noto-fonts-cjk noto-fonts-cjk
source-han-sans source-han-sans
source-han-serif source-han-serif
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
]; ];
i18n.inputMethod = { i18n.inputMethod = {
enabled = "fcitx5"; enabled = "fcitx5";