chore: Expand single item lists and attribute sets

These aren't collapsed by nix fmt anymore.
This commit is contained in:
Donovan Glover 2024-08-27 10:58:05 -04:00
parent ed9a253fdf
commit 83a82ab655
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
7 changed files with 32 additions and 10 deletions

View File

@ -20,7 +20,9 @@ in
home-manager.sharedModules = home-manager.sharedModules =
attrValues nix-config.homeModules attrValues nix-config.homeModules
++ singleton { programs.btop.enable = true; }; ++ singleton {
programs.btop.enable = true;
};
environment.systemPackages = attrValues { environment.systemPackages = attrValues {
inherit (nix-config.packages.${pkgs.system}) webp-thumbnailer; inherit (nix-config.packages.${pkgs.system}) webp-thumbnailer;

View File

@ -96,7 +96,9 @@
}; };
modules = phoneModules ++ [ modules = phoneModules ++ [
(import "${mobile-nixos}/lib/configuration.nix" { device = "pine64-pinephone"; }) (import "${mobile-nixos}/lib/configuration.nix" {
device = "pine64-pinephone";
})
{ {
mobile.beautification = { mobile.beautification = {

View File

@ -74,7 +74,9 @@ in
type = "clock"; type = "clock";
format = "%x%a%R"; format = "%x%a%R";
} }
{ type = "notifications"; } {
type = "notifications";
}
]; ];
}; };

View File

@ -15,7 +15,9 @@ in
programs.librewolf = { programs.librewolf = {
enable = true; enable = true;
package = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; }; package = pkgs.librewolf.override {
cfg.speechSynthesisSupport = false;
};
profiles.default = { profiles.default = {
extensions = with firefox-addons.packages.${pkgs.system}; [ extensions = with firefox-addons.packages.${pkgs.system}; [

View File

@ -1 +1,3 @@
{ services.udiskie.enable = true; } {
services.udiskie.enable = true;
}

View File

@ -263,8 +263,14 @@ in
postgresql = mkIf postgres { postgresql = mkIf postgres {
enable = true; enable = true;
ensureUsers = singleton { name = username; };
ensureDatabases = [ username ]; ensureUsers = singleton {
name = username;
};
ensureDatabases = [
username
];
}; };
openssh = { openssh = {

View File

@ -118,7 +118,9 @@ in
shadowExclude = fadeExclude; shadowExclude = fadeExclude;
opacityRules = [ "95:class_g = 'Thunar'" ]; opacityRules = [
"95:class_g = 'Thunar'"
];
settings = { settings = {
blur = { blur = {
@ -126,9 +128,13 @@ in
size = 10; size = 10;
}; };
blur-background-exclude = [ "class_g = 'Nemo-desktop'" ]; blur-background-exclude = [
"class_g = 'Nemo-desktop'"
];
clip-shadow-above = [ "class_g = 'dwm'" ]; clip-shadow-above = [
"class_g = 'dwm'"
];
}; };
}; };