diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-20 11:15:09 +0800 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-20 11:15:09 +0800 |
commit | 370669f99f4001072ee5819e76896fa7445d8674 (patch) | |
tree | a58dda070a5ffbbc5d7423f5c4dc0bf39bf27f10 | |
parent | 101aee81937ae1410f8dade403ab26c62b756d54 (diff) | |
download | nixos-configuration-370669f99f4001072ee5819e76896fa7445d8674.tar.gz nixos-configuration-370669f99f4001072ee5819e76896fa7445d8674.tar.bz2 nixos-configuration-370669f99f4001072ee5819e76896fa7445d8674.zip |
feat: fcitx5 and AGS autostart for Hyprland
Fix warning about nixvim rust-analyzer not installing rustc
-rw-r--r-- | home-manager/stvnliu/assets/nixos-wallpaper.jpg | bin | 0 -> 219398 bytes | |||
-rw-r--r-- | home-manager/stvnliu/hypr/hyprland.nix | 5 | ||||
-rw-r--r-- | home-manager/stvnliu/nixvim/lsp.nix | 5 |
3 files changed, 8 insertions, 2 deletions
diff --git a/home-manager/stvnliu/assets/nixos-wallpaper.jpg b/home-manager/stvnliu/assets/nixos-wallpaper.jpg Binary files differnew file mode 100644 index 0000000..46975c2 --- /dev/null +++ b/home-manager/stvnliu/assets/nixos-wallpaper.jpg diff --git a/home-manager/stvnliu/hypr/hyprland.nix b/home-manager/stvnliu/hypr/hyprland.nix index d7e0b56..b336ffe 100644 --- a/home-manager/stvnliu/hypr/hyprland.nix +++ b/home-manager/stvnliu/hypr/hyprland.nix @@ -21,7 +21,10 @@ repeat_rate = 50; repeat_delay = 250; }; - exec-once = "fcitx5"; + exec-once = [ + "fcitx5" + "ags" + ]; misc = { disable_hyprland_logo = true; disable_splash_rendering = true; diff --git a/home-manager/stvnliu/nixvim/lsp.nix b/home-manager/stvnliu/nixvim/lsp.nix index a83f01b..2f552c8 100644 --- a/home-manager/stvnliu/nixvim/lsp.nix +++ b/home-manager/stvnliu/nixvim/lsp.nix @@ -10,7 +10,10 @@ gopls.enable = true; nil_ls.enable = true; #nixd.enable = true; - rust-analyzer.enable = true; + rust-analyzer = { + enable = true; + installRustc = true; + }; tsserver.enable = true; }; keymaps.lspBuf = { |