Reformat files
diff --git a/modules/dictionaries.nix b/modules/dictionaries.nix
index 1fe561f..ca06f5a 100644
--- a/modules/dictionaries.nix
+++ b/modules/dictionaries.nix
@@ -1,4 +1,4 @@
-{pkgs,...}: {
+{pkgs, ...}: {
config.environment.systemPackages = with pkgs.aspellDicts; [
pkgs.aspell
en
diff --git a/modules/emacs.nix b/modules/emacs.nix
index 9308071..f5bad84 100644
--- a/modules/emacs.nix
+++ b/modules/emacs.nix
@@ -15,8 +15,11 @@
home.programs.emacs = {
enable = cfg.enable;
- extraPackages = epkgs: [pkgs.texlive.combined.scheme-full epkgs.citeproc
- pkgs.pdf2svg];
+ extraPackages = epkgs: [
+ pkgs.texlive.combined.scheme-full
+ epkgs.citeproc
+ pkgs.pdf2svg
+ ];
};
traces = [
diff --git a/modules/email.nix b/modules/email.nix
index 79de03e..158f0e0 100644
--- a/modules/email.nix
+++ b/modules/email.nix
@@ -92,11 +92,12 @@
}))
builtins.listToAttrs
];
- in with defaultFilters; {
- "text/plain" = colorize;
- "text/calendar" = defaultFilters."show-ics-details.py";
- "text/html" = html;
- };
+ in
+ with defaultFilters; {
+ "text/plain" = colorize;
+ "text/calendar" = defaultFilters."show-ics-details.py";
+ "text/html" = html;
+ };
};
home.packages = with pkgs; [lynx];
home.file.".mailcap".text = ''
diff --git a/modules/kdeconnect.nix b/modules/kdeconnect.nix
index ef6622d..3dee0f5 100644
--- a/modules/kdeconnect.nix
+++ b/modules/kdeconnect.nix
@@ -1,8 +1,12 @@
-{pkgs, ...}: {} # Broken by rename on latest unstable
-/*{
+{pkgs, ...}: {}
+# Broken by rename on latest unstable
+/*
+ {
home.services.kdeconnect.indicator = true;
config.programs.kdeconnect = {
enable = true; # Can't use home-manager's version because of the firewall
package = pkgs.plasma5Packages.kdeconnect-kde;
};
-}*/
+}
+*/
+
diff --git a/modules/kmonad.nix b/modules/kmonad.nix
index ef5793b..45e1956 100644
--- a/modules/kmonad.nix
+++ b/modules/kmonad.nix
@@ -1,5 +1,5 @@
-{ kmonad, ... }: {
- imports = [ kmonad.nixosModules.default ];
+{kmonad, ...}: {
+ imports = [kmonad.nixosModules.default];
config.services.kmonad = {
enable = false;
diff --git a/modules/mongo.nix b/modules/mongo.nix
index 2e59b22..88e1478 100644
--- a/modules/mongo.nix
+++ b/modules/mongo.nix
@@ -1,9 +1,9 @@
-{ pkgs, ... }: {
+{pkgs, ...}: {
config = {
services.mongodb = {
- package = pkgs.mongodb-4_2;
- enable = true;
- dbpath = "/tmp/mongodb";
+ package = pkgs.mongodb-4_2;
+ enable = true;
+ dbpath = "/tmp/mongodb";
};
internal.allowUnfree = ["mongodb" "mongodb-compass"];
};
diff --git a/modules/netlify.nix b/modules/netlify.nix
index 9e59634..6a68be0 100644
--- a/modules/netlify.nix
+++ b/modules/netlify.nix
@@ -4,11 +4,12 @@
...
}: {
home = {
- programs.git.extraConfig.credential."https://*.netlify.app".helper = "netlify";
- home = {
- packages = [pkgs.netlify-cli];
- sessionPath = ["$HOME/.config/netlify/helper/bin"];
- };};
+ programs.git.extraConfig.credential."https://*.netlify.app".helper = "netlify";
+ home = {
+ packages = [pkgs.netlify-cli];
+ sessionPath = ["$HOME/.config/netlify/helper/bin"];
+ };
+ };
config.environment.persistence."/nix/persist".users.${username}.directories = [".config/netlify"];
}
diff --git a/modules/rust.nix b/modules/rust.nix
index 8b293fb..696dc49 100644
--- a/modules/rust.nix
+++ b/modules/rust.nix
@@ -1,4 +1,8 @@
-{username, pkgs, ...}: {
+{
+ username,
+ pkgs,
+ ...
+}: {
home.home.packages = with pkgs; [
cargo
clippy
diff --git a/packages/vim-ctrlspace.nix b/packages/vim-ctrlspace.nix
index 7cdcd14..efda8fb 100644
--- a/packages/vim-ctrlspace.nix
+++ b/packages/vim-ctrlspace.nix
@@ -1,4 +1,9 @@
-{ vimUtils, fetchFromGitHub, lib }: vimUtils.buildVimPlugin {
+{
+ vimUtils,
+ fetchFromGitHub,
+ lib,
+}:
+vimUtils.buildVimPlugin {
name = "vim-ctrlspace";
src = fetchFromGitHub {
owner = "minion3665";