Run alejandra

This commit is contained in:
ItsDrike 2024-07-27 01:07:07 +02:00
parent 286920def4
commit c00134da1c
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
152 changed files with 827 additions and 721 deletions

View file

@ -7,7 +7,6 @@
inherit (lib) mkIf getExe;
inherit (lib.strings) concatStringsSep;
deviceType = config.myOptions.device.roles.type;
acceptedTypes = ["laptop" "desktop"];
@ -74,6 +73,6 @@ in {
};
# Persist info about previous session & user
myOptions.system.impermanence.root.extraDirectories = [ "/var/cache/tuigreet" ];
myOptions.system.impermanence.root.extraDirectories = ["/var/cache/tuigreet"];
};
}

View file

@ -1,4 +1,8 @@
{lib, config, ...}: let
{
lib,
config,
...
}: let
inherit (lib) mkIf;
deviceType = config.myOptions.device.roles.type;
acceptedTypes = ["laptop" "desktop"];

View file

@ -11,7 +11,7 @@ in {
config = mkIf cfgEnabled {
systemd.services = {
# Seat management daemon
# (Takes care of mediating access to shared devices (graphics, input), without requiring
# (Takes care of mediating access to shared devices (graphics, input), without requiring
# applications like Wayland compositors being granted root privileges)
seatd = {
enable = true;

View file

@ -19,11 +19,14 @@ in {
# Specify which portals should be used by the individual interfaces
# see: <https://github.com/flatpak/xdg-desktop-portal/blob/1.18.1/doc/portals.conf.rst.in>
config.common = let
config.common = let
# Note: this assumes a wlroots based compositor if it's not hyprland
# which may not always actually be the case, however, I can't be bothered to handle
# everything here and I don't plan on moving WMs any time soon.
portal = if cfgHyprlandEnabled then "hyprland" else "wlr";
portal =
if cfgHyprlandEnabled
then "hyprland"
else "wlr";
in {
# Use this portal for every interface, unless a specific override is present
default = ["gtk"];