mirror of
https://github.com/alyssadev/nixos.git
synced 2025-10-14 04:59:39 +10:00
update
This commit is contained in:
parent
5fb21f3813
commit
34c69b9bba
5 changed files with 183 additions and 3 deletions
|
@ -1,5 +1,13 @@
|
|||
({ config, pkgs, ... }: {
|
||||
networking.hostName = "aly-laptop";
|
||||
services.openvpn.servers = {
|
||||
laptop = { config = '' config /home/aly/.secrets/laptop.ovpn ''; };
|
||||
};
|
||||
fileSystems."/mnt/media" = {
|
||||
device = "//10.8.0.4/media";
|
||||
fsType = "cifs";
|
||||
options = ["x-systemd.requires=openvpn-laptop.service,x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s"];
|
||||
};
|
||||
services.logind = {
|
||||
lidSwitch = "suspend";
|
||||
lidSwitchDocked = "ignore";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue