nixpkgs-format all files
This commit is contained in:
parent
342b29f73c
commit
6f64608b0b
15 changed files with 50 additions and 38 deletions
|
|
@ -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" = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ let
|
|||
from = 1714;
|
||||
to = 1764;
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
home-manager.users.moritz.services = { kdeconnect.enable = true; };
|
||||
networking.firewall = {
|
||||
allowedTCPPortRanges = [ ports ];
|
||||
|
|
|
|||
|
|
@ -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); }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue