mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-20 03:06:06 +01:00
88 lines
1.5 KiB
Nix
88 lines
1.5 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ ./wm ];
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
config = {
|
|
sway = {
|
|
default = "gtk";
|
|
"org.freedesktop.impl.portal.Screenshot" = "wlr";
|
|
"org.freedesktop.impl.portal.ScreenCast" = "wlr";
|
|
};
|
|
};
|
|
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-wlr
|
|
xdg-desktop-portal-gtk
|
|
];
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
# IM
|
|
(discord.override { inherit (pkgs) nss; })
|
|
element-desktop
|
|
signal-desktop
|
|
|
|
# Mail
|
|
thunderbird
|
|
|
|
# Media
|
|
gromit-mpx
|
|
krita
|
|
pavucontrol
|
|
spotify
|
|
vlc
|
|
|
|
# Libreoffice
|
|
hunspell
|
|
hunspellDicts.fr-any
|
|
hyphen
|
|
libreoffice
|
|
|
|
# Misc
|
|
gnome.eog
|
|
freecad
|
|
plasma5Packages.kdeconnect-kde
|
|
wdisplays
|
|
wl-clipboard
|
|
xdg-utils
|
|
fzf
|
|
waypipe
|
|
glaurung
|
|
];
|
|
|
|
programs.firefox = {
|
|
enable = true;
|
|
nativeMessagingHosts = [ pkgs.firefoxpwa ];
|
|
};
|
|
|
|
home.sessionVariables = {
|
|
BROWSER = "firefox";
|
|
NIXOS_OZONE_WL = 1;
|
|
ANDROID_HOME = "${config.home.sessionVariables.XDG_DATA_HOME}/android";
|
|
};
|
|
|
|
programs.zathura.enable = true;
|
|
|
|
programs.rofi = {
|
|
enable = true;
|
|
theme = "solarized_alternate";
|
|
terminal = "${config.terminal.command}";
|
|
};
|
|
|
|
xdg.desktopEntries.zklist = {
|
|
name = "zklist";
|
|
exec = ''${pkgs.foot}/bin/foot nvim "+ZkNotes"'';
|
|
};
|
|
|
|
xdg.desktopEntries.zksearch = {
|
|
name = "zksearch";
|
|
exec = ''${pkgs.foot}/bin/foot nvim "+ZkNotes { match = { vim.fn.input('Search: ') } }"'';
|
|
};
|
|
}
|