nixpkgs-format all files

This commit is contained in:
Moritz Böhme 2021-11-11 18:34:54 +01:00
parent 342b29f73c
commit 6f64608b0b
15 changed files with 50 additions and 38 deletions

View file

@ -25,14 +25,16 @@
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/secrets/smbMedia,uid=1000,gid=100"
];
in
[
"${automount_opts},credentials=/run/secrets/smbMedia,uid=1000,gid=100"
];
};
# fileSystems."/media/diskstation" = {

View file

@ -4,7 +4,8 @@ let
from = 1714;
to = 1764;
};
in {
in
{
home-manager.users.moritz.services = { kdeconnect.enable = true; };
networking.firewall = {
allowedTCPPortRanges = [ ports ];

View file

@ -1,7 +1,8 @@
{ config, lib, pkgs, ... }:
let
base = {
{
home-manager.users.moritz = {
services.picom = {
enable = true;
inactiveOpacity = "0.90";
@ -48,4 +49,4 @@ let
'';
};
};
in { home-manager.users.moritz = { ... }: (base); }
}