fix: adjust hyprland configs

This commit is contained in:
ryan4yin
2023-05-07 12:09:01 +08:00
parent 88faaa950c
commit 82f0248cf6
26 changed files with 318 additions and 475 deletions

View File

@@ -34,6 +34,7 @@
nvidiaPatches = true;
};
programs.light.enable = true; # monitor backlight control
# thunar file manager(part of xfce) related options
@@ -44,6 +45,32 @@
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
waybar # the status bar
swaybg # the wallpaper
swayidle # the idle timeout
swaylock # locking the screen
wlogout # logout menu
wl-clipboard # copying and pasting
wf-recorder # creen recording
grim # taking screenshots
slurp # selecting a region to screenshot
# TODO replace by `flameshot gui --raw | wl-copy`
wofi # A rofi inspired launcher for wlroots compositors such as sway/hyprland
mako # the notification daemon, the same as dunst
yad # a fork of zenity, for creating dialogs
# 用于播放系统音效
mpd # for playing system sounds
mpc-cli # command-line mpd client
ncmpcpp # a mpd client with a UI
networkmanagerapplet # provide GUI app: nm-connection-editor
];
xdg.portal = {
enable = true;
@@ -51,8 +78,8 @@
xdgOpenUsePortal = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr # for wlroots based compositors
xdg-desktop-portal-gtk # for gtk
# xdg-desktop-portal-kde # for kde
# xdg-desktop-portal-gtk # for gtk
];
};

View File

@@ -34,7 +34,7 @@
arandr # screen layout manager
dex # autostart applications
xbindkeys # bind keys to commands
xorg.xbacklight # control screen brightness
xorg.xbacklight # control screen brightness, the same as light
xorg.xdpyinfo # get screen information
sysstat # get system information
];

View File

@@ -26,6 +26,7 @@
services.printing.enable = true;
# all fonts are linked to /nix/var/nix/profiles/system/sw/share/X11/fonts
fonts = {
# use fonts specified by user rather than default ones
enableDefaultFonts = false;
@@ -48,6 +49,9 @@
"Iosevka"
];})
(pkgs.callPackage ../fonts/icomoon-feather-icon-font.nix { })
(pkgs.callPackage ../fonts/archcraft-icon-font.nix { })
];
# user defined fonts
@@ -112,6 +116,14 @@
xz
zstd
(python3.withPackages(ps: with ps; [
ipython
pandas
requests
pyquery
]))
conda
# video/audio tools
libva-utils
nvtop
@@ -127,6 +139,7 @@
neofetch
xfce.thunar # xfce4's file manager
nnn # terminal file manager
xdg-user-dirs
];
@@ -171,7 +184,7 @@
users.users.ryan = {
isNormalUser = true;
description = "ryan";
extraGroups = [ "networkmanager" "wheel" "docker" "wireshark" ];
extraGroups = [ "users" "networkmanager" "wheel" "docker" "wireshark" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJx3Sk20pLL1b2PPKZey2oTyioODrErq83xG78YpFBoj admin@ryan-MBP"
];