Update asahi to latest using 23.05

This commit is contained in:
Natsu Kagami 2023-06-06 22:36:45 +02:00
parent 286f296de4
commit 20f296dc5e
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
6 changed files with 46 additions and 80 deletions

View file

@ -31,7 +31,6 @@ in
home.packages = (with pkgs; [
## GUI stuff
gnome.cheese # Webcam check
evince # PDF reader
gparted
vscode
@ -49,6 +48,7 @@ in
# sct # Display color temperature
xdg-utils # Open stuff
] ++ (if pkgs.stdenv.isAarch64 then [ ] else [
gnome.cheese # Webcam check, expensive
mailspring
# Chat stuff
unstable.slack
@ -56,6 +56,17 @@ in
nki.programs.discord.enable = pkgs.stdenv.isx86_64;
# Email
programs.thunderbird = {
enable = true;
profiles.default = {
isDefault = true;
};
settings = {
"privacy.donottrackheader.enabled" = true;
};
};
# Cursor
home.pointerCursor = {
package = pkgs.numix-cursor-theme;

View file

@ -145,7 +145,6 @@ in
# Startup programs
{ command = "${cfg.browser}"; }
{ command = "thunderbird"; } # Rely on system package with plugins
{ command = "env PYTHONPATH=$(python -m site --user-site) ${pkgs.ulauncher}/bin/ulauncher --hide-window --no-window-shadow"; }
] ++ (if cfg.discord != null then [
{ command = "${cfg.discord}"; }
] ++ lib.lists.optional
@ -203,7 +202,7 @@ in
"${mod}+Shift+e" =
"exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'";
# Launcher
"${mod}+space" = "exec ${pkgs.ulauncher}/bin/ulauncher-toggle";
"${mod}+space" = "exec rofi -show drun";
} // {
## Splits
"${mod}+v" = "split v";
@ -691,8 +690,15 @@ in
qt5.qtwayland
# For waybar
font-awesome
# For launcher
ulauncher
]);
config.programs.rofi = mkIf cfg.enable {
enable = true;
package = pkgs.rofi-wayland;
cycle = true;
font = "monospace ${toString cfg.fontSize}";
terminal = cfg.terminal;
theme = "Paper";
plugins = with pkgs; [ rofi-bluetooth rofi-calc rofi-rbw rofi-power-menu ];
};
}