refactor(treewide): format with alejandra

This commit is contained in:
ooks-io 2024-07-29 15:00:38 +12:00
parent 7fefb94400
commit 61cef505da
216 changed files with 5995 additions and 3969 deletions

View file

@ -1,19 +1,20 @@
{ lib, config, osConfig, ... }:
let
{
lib,
config,
osConfig,
...
}: let
inherit (lib) mkDefault;
admin = osConfig.ooknet.host.admin;
in
{
in {
programs.home-manager.enable = true;
systemd.user.startServices = "sd-switch";
home = {
username = admin.name;
homeDirectory = "/home/${config.home.username}";
stateVersion = mkDefault "22.05";
sessionPath = [ "${config.home.homeDirectory}/.local/bin" ];
sessionPath = ["${config.home.homeDirectory}/.local/bin"];
sessionVariables = {
TZ = "Pacific/Auckland";
};

View file

@ -1,7 +1,5 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.xdg-utils ];
{pkgs, ...}: {
home.packages = [pkgs.xdg-utils];
xdg.mimeApps = {
enable = true;
};

View file

@ -1,6 +1,4 @@
{ config, ... }:
{
{config, ...}: {
xdg = {
enable = true;
configHome = "${config.home.homeDirectory}/.config";