mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 20:00:42 +00:00
Run alejandra
This commit is contained in:
parent
286920def4
commit
c00134da1c
152 changed files with 827 additions and 721 deletions
|
@ -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"];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{lib, config, ...}: let
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop" "desktop"];
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue