mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-21 15:53:32 +01:00
chore: Expand single item lists and attribute sets
These aren't collapsed by nix fmt anymore.
This commit is contained in:
parent
ed9a253fdf
commit
83a82ab655
@ -20,7 +20,9 @@ in
|
||||
|
||||
home-manager.sharedModules =
|
||||
attrValues nix-config.homeModules
|
||||
++ singleton { programs.btop.enable = true; };
|
||||
++ singleton {
|
||||
programs.btop.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = attrValues {
|
||||
inherit (nix-config.packages.${pkgs.system}) webp-thumbnailer;
|
||||
|
@ -96,7 +96,9 @@
|
||||
};
|
||||
|
||||
modules = phoneModules ++ [
|
||||
(import "${mobile-nixos}/lib/configuration.nix" { device = "pine64-pinephone"; })
|
||||
(import "${mobile-nixos}/lib/configuration.nix" {
|
||||
device = "pine64-pinephone";
|
||||
})
|
||||
|
||||
{
|
||||
mobile.beautification = {
|
||||
|
@ -74,7 +74,9 @@ in
|
||||
type = "clock";
|
||||
format = "%x(%a)%R";
|
||||
}
|
||||
{ type = "notifications"; }
|
||||
{
|
||||
type = "notifications";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -15,7 +15,9 @@ in
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
|
||||
package = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; };
|
||||
package = pkgs.librewolf.override {
|
||||
cfg.speechSynthesisSupport = false;
|
||||
};
|
||||
|
||||
profiles.default = {
|
||||
extensions = with firefox-addons.packages.${pkgs.system}; [
|
||||
|
@ -1 +1,3 @@
|
||||
{ services.udiskie.enable = true; }
|
||||
{
|
||||
services.udiskie.enable = true;
|
||||
}
|
||||
|
@ -263,8 +263,14 @@ in
|
||||
|
||||
postgresql = mkIf postgres {
|
||||
enable = true;
|
||||
ensureUsers = singleton { name = username; };
|
||||
ensureDatabases = [ username ];
|
||||
|
||||
ensureUsers = singleton {
|
||||
name = username;
|
||||
};
|
||||
|
||||
ensureDatabases = [
|
||||
username
|
||||
];
|
||||
};
|
||||
|
||||
openssh = {
|
||||
|
@ -118,7 +118,9 @@ in
|
||||
|
||||
shadowExclude = fadeExclude;
|
||||
|
||||
opacityRules = [ "95:class_g = 'Thunar'" ];
|
||||
opacityRules = [
|
||||
"95:class_g = 'Thunar'"
|
||||
];
|
||||
|
||||
settings = {
|
||||
blur = {
|
||||
@ -126,9 +128,13 @@ in
|
||||
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'"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user