chore: add xdg-desktop-portal-wlr
This commit is contained in:
parent
f3e4546aba
commit
9f5e11bd3d
|
@ -6,16 +6,18 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
# networking
|
||||
networking.hostName = "neodymium";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# use systemd-boot EFI boot loader
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# configure hardware
|
||||
# hardware
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
opengl = {
|
||||
|
@ -24,8 +26,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# internationalisation
|
||||
time.timeZone = "Europe/Paris";
|
||||
i18n.defaultLocale = "en_DK.UTF-8";
|
||||
|
@ -33,11 +33,13 @@
|
|||
keyMap = "fr";
|
||||
};
|
||||
|
||||
# fonts
|
||||
fonts.fonts = with pkgs; [
|
||||
fira-code fira-code-symbols
|
||||
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||
];
|
||||
|
||||
# audio
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
|
@ -48,12 +50,10 @@
|
|||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
};
|
||||
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-wlr
|
||||
];
|
||||
};
|
||||
|
||||
programs.light.enable = true;
|
||||
|
|
Loading…
Reference in a new issue