From e432fd1682ee53efc113e09faf7e26e40e093010 Mon Sep 17 00:00:00 2001 From: caandt Date: Sun, 18 Aug 2024 11:27:36 -0500 Subject: [PATCH] update conf --- configuration.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 5bb71c5..e8c3bba 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { imports = [ ./hardware-configuration.nix ]; @@ -11,6 +11,8 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + boot.tmp.useTmpfs = true; + networking.hostName = "nixos"; networking.networkmanager.enable = true; @@ -26,6 +28,7 @@ enable = true; autorun = false; displayManager.startx.enable = true; + displayManager.sx.enable = true; windowManager.awesome.enable = true; desktopManager.plasma5.enable = true; autoRepeatDelay = 200; @@ -62,6 +65,12 @@ btop 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 = { isNormalUser = true; @@ -115,6 +124,7 @@ noto-fonts-cjk source-han-sans source-han-serif + (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) ]; i18n.inputMethod = { enabled = "fcitx5";