From b0b9a4e5f0a4c323f89983cb547583da23676d6c Mon Sep 17 00:00:00 2001 From: MoritzBoehme Date: Tue, 14 Dec 2021 12:21:41 +0100 Subject: [PATCH] style formatting --- modules/editors/emacs.nix | 3 ++- modules/services/diskstation/default.nix | 16 +++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/modules/editors/emacs.nix b/modules/editors/emacs.nix index e1c6731..b840d38 100644 --- a/modules/editors/emacs.nix +++ b/modules/editors/emacs.nix @@ -4,7 +4,8 @@ let emacs = with pkgs; ((emacsPackagesNgGen emacsUnstableGcc).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.emacsql-sqlite3 ])); -in { +in +{ fonts.fonts = [ pkgs.emacs-all-the-icons-fonts ]; home-manager.users.moritz = { diff --git a/modules/services/diskstation/default.nix b/modules/services/diskstation/default.nix index 030b5d4..3a734b5 100644 --- a/modules/services/diskstation/default.nix +++ b/modules/services/diskstation/default.nix @@ -4,13 +4,15 @@ fileSystems."/media/media" = { device = "//192.168.0.2/media"; fsType = "cifs"; - options = let - # this line prevents hanging on network split - automount_opts = - "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s"; + options = + let + # this line prevents hanging on network split + automount_opts = + "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s"; - in [ - "${automount_opts},credentials=/run/agenix/smbMedia,uid=1000,gid=100" - ]; + in + [ + "${automount_opts},credentials=/run/agenix/smbMedia,uid=1000,gid=100" + ]; }; }