update conf
This commit is contained in:
parent
88b4e51363
commit
e432fd1682
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue