Compare commits

..

No commits in common. "10e5afd7410a4611d436bf93772cb5a34aea42d0" and "a2075a988e2ba51134041dfd7af28fbd908a8118" have entirely different histories.

2 changed files with 4 additions and 9 deletions

View file

@ -37,11 +37,6 @@
./hw/aly-laptop.nix ./hw/aly-laptop.nix
./system/aly-laptop.nix ./system/aly-laptop.nix
./system/global.nix ./system/global.nix
{
environment.systemPackages = [
nix-search.packages.x86_64-linux.default
];
}
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;

View file

@ -3,10 +3,10 @@
services.openvpn.servers = { services.openvpn.servers = {
laptop = { config = '' config /home/aly/.secrets/laptop.ovpn ''; }; laptop = { config = '' config /home/aly/.secrets/laptop.ovpn ''; };
}; };
fileSystems."/mnt/storage" = { fileSystems."/home/aly/Music" = {
device = "aly@lan.aly.pet:/mnt/storage"; device = "//10.8.0.4/media/music";
fsType = "sshfs"; fsType = "cifs";
options = ["nodev,noatime,allow_other,IdentityFile=/home/aly/.ssh/id_ed25519"]; 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 = { services.logind = {
lidSwitch = "suspend"; lidSwitch = "suspend";