changes to modules + adoption of PC
This commit is contained in:
@@ -1,7 +1,27 @@
|
||||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./system.nix
|
||||
programs.hyprland.enable = true;
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
};
|
||||
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
hyprpolkitagent
|
||||
hyprshot
|
||||
rofi
|
||||
networkmanagerapplet
|
||||
kdePackages.dolphin
|
||||
wayvnc
|
||||
awww
|
||||
mpvpaper
|
||||
waybar
|
||||
quickshell
|
||||
qt6.qtdeclarative
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.hyprland.enable = true;
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
};
|
||||
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
}
|
||||
@@ -1,9 +1,27 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true; # Recommended to fix xdg-open issues
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk # For file choosers in GTK apps
|
||||
xdg-desktop-portal-hyprland # For Hyprland (or wlr for other wlroots)
|
||||
];
|
||||
config = {
|
||||
common.default = [ "gtk" ]; # Default fallback
|
||||
hyprland = {
|
||||
default = [
|
||||
"hyprland"
|
||||
"gtk"
|
||||
];
|
||||
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
|
||||
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user