make zed work
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchurl,
|
||||
hostname,
|
||||
headless,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
cliPackages = with pkgs; [
|
||||
@@ -70,6 +71,7 @@
|
||||
wl-clipboard
|
||||
xclip
|
||||
zathura
|
||||
zed-editor
|
||||
];
|
||||
|
||||
defaultUser = "daniel";
|
||||
@@ -79,6 +81,7 @@ in {
|
||||
../configs/system
|
||||
]
|
||||
++ lib.optionals (!headless) [
|
||||
inputs.zen-browser.homeModules.beta
|
||||
../configs/desktop
|
||||
]
|
||||
++ lib.optionals (builtins.pathExists ./host-specific/${hostname}) [
|
||||
@@ -118,6 +121,22 @@ in {
|
||||
stateVersion = "21.05";
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-wlr
|
||||
];
|
||||
xdgOpenUsePortal = true;
|
||||
config = {
|
||||
common = {
|
||||
default = "gtk";
|
||||
"org.freedesktop.impl.portal.Screencast" = "wlr";
|
||||
"org.freedesktop.impl.portal.Screenshot" = "wlr";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
# Let Home Manager install and manage itself.
|
||||
home-manager.enable = true;
|
||||
@@ -163,6 +182,8 @@ in {
|
||||
|
||||
vscode.enable = true;
|
||||
|
||||
zen-browser.enable = true;
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
autosuggestion.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user