format all

This commit is contained in:
Kopatz
2025-10-30 21:59:31 +01:00
parent b1dda4d037
commit 8a78e618bb
188 changed files with 3526 additions and 1825 deletions

View File

@@ -1,6 +1,13 @@
{ config, pkgs, lib, ... }:
let cfg = config.custom.graphical.i3;
in {
{
config,
pkgs,
lib,
...
}:
let
cfg = config.custom.graphical.i3;
in
{
options = {
custom.graphical.i3.enable = lib.mkOption {
@@ -24,14 +31,18 @@ in {
};
services = {
displayManager = { defaultSession = "none+i3"; };
displayManager = {
defaultSession = "none+i3";
};
xserver = {
enable = true;
xkb.layout = config.mainUser.layout;
xkb.variant = config.mainUser.variant;
desktopManager = { xterm.enable = false; };
desktopManager = {
xterm.enable = false;
};
windowManager.i3 = {
enable = true;
@@ -53,8 +64,7 @@ in {
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart =
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;