Add portals

This commit is contained in:
Alexander Bantyev 2023-08-07 13:59:30 +04:00
parent 5b21e7b541
commit 94358c01d3
No known key found for this signature in database
GPG Key ID: 48ABA304F3A30FE9
7 changed files with 13 additions and 22 deletions

View File

@ -137,7 +137,6 @@ in rec {
rev = "39911727b7ce70a100aad84c1cdae9ab0ead1d6b";
hash = "sha256-Y+e9WjkXl38tbJq5D2BH0wJ0157yBiQ3vfRYO6rwnoU=";
};
patches = [ ];
});
audiotube = prev'.audiotube.overrideAttrs (oa: {

View File

@ -188,6 +188,8 @@
userName = "balsoft@balsoft.ru";
passwordCommand = "pass email/balsoft@balsoft.ru";
folders.inbox = "virtual.all";
};
Work = {
aerc.enable = true;
@ -198,6 +200,8 @@
userName = "alexander.bantyev@tweag.io";
passwordCommand = "pass aerc/alexander.bantyev@tweag.io";
folders.inbox = "[Gmail]/All Mail";
};
};
};

View File

@ -52,6 +52,7 @@
normal = "block";
select = "underline";
};
color-modes = true;
};
keys = {
insert = {
@ -108,8 +109,8 @@
bg = base02;
};
"ui.statusline.inactive" = {
fg = base02;
bg = base05;
fg = base03;
bg = base01;
};
"ui.help" = {
fg = base01;

View File

@ -12,7 +12,7 @@
# steam
haskellPackages.hoogle
nixfmt
nil
# nil
nixpkgs-fmt
stdman
libqalculate

View File

@ -1,19 +1,4 @@
{ config, pkgs, lib, ... }: {
services.gnome = {
core-os-services.enable = true;
core-utilities.enable = true;
evolution-data-server.enable = true;
sushi.enable = true;
tracker.enable = true;
tracker-miners.enable = true;
gnome-settings-daemon.enable = true;
glib-networking.enable = true;
# pass-secret-service is used instead
gnome-keyring.enable = lib.mkForce false;
gnome-online-accounts.enable = true;
gnome-online-miners.enable = true;
};
environment.systemPackages = [ pkgs.pass-secret-service ];
environment.gnome.excludePackages = [ pkgs.gnome-console pkgs.gnome.evince pkgs.gnome.eog ];

View File

@ -184,7 +184,7 @@ in {
environment.systemPackages = [ desktopTheme ];
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ];
services.dbus.packages = [ pkgs.systemd pkgs.breeze-icons ];
services.udev.packages = [ pkgs.libmtp pkgs.media-player-info ];

View File

@ -2,8 +2,6 @@
let
thm = pkgs.my-lib.thmHash config.themes.colors;
apps = config.defaultApplications;
lock_fork = pkgs.writeShellScript "lock_fork"
"sudo /run/current-system/sw/bin/lock all &";
lock = pkgs.writeShellScript "lock"
"swaymsg 'output * dpms off'; sudo /run/current-system/sw/bin/lock all; swaymsg 'output * dpms on'";
htmlify = pkgs.writeShellScript "htmlify" ''
@ -32,6 +30,9 @@ in {
}
'';
xdg.portal.wlr.enable = true;
xdg.portal.xdgOpenUsePortal = true;
home-manager.users.balsoft.wayland.windowManager.sway = {
enable = true;
config = rec {
@ -149,6 +150,7 @@ in {
"Shift+j" = "move down";
"Shift+l" = "move right";
"Shift+h" = "move left";
"u" = "focus parent";
"f" = "fullscreen toggle; floating toggle";
"Shift+f" = "floating toggle";