Format with nixfmt-rfc

This commit is contained in:
DashieTM 2024-08-25 19:10:41 +02:00
parent 8c9f699269
commit a90a9c3a8e
60 changed files with 1756 additions and 1039 deletions

View file

@ -1,4 +1,13 @@
{ inputs, pkgs, config, lib, mod, additionalHomeConfig, root, ... }:
{
inputs,
pkgs,
config,
lib,
mod,
additionalHomeConfig,
root,
...
}:
let
base_imports = [
inputs.anyrun.homeManagerModules.default
@ -16,7 +25,8 @@ let
inputs.dashvim.homeManagerModules.dashvim
../modules
];
in {
in
{
xdg = {
portal.config.common.default = "*";
portal = {
@ -27,13 +37,21 @@ in {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs root; };
extraSpecialArgs = {
inherit inputs root;
};
users.${config.conf.username} = {
imports = [ ./common.nix ./xdg.nix ./themes ./sync.nix ] ++ base_imports
imports =
[
./common.nix
./xdg.nix
./themes
./sync.nix
]
++ base_imports
++ lib.optional (builtins.pathExists mod) mod
++ lib.optional (builtins.pathExists additionalHomeConfig)
additionalHomeConfig;
++ lib.optional (builtins.pathExists additionalHomeConfig) additionalHomeConfig;
};
};
}