295
This commit is contained in:
parent
ba1044e2e5
commit
2b9b5a5eae
@ -128,22 +128,6 @@ in
|
|||||||
|
|
||||||
services.gpm.enable = true; # Mouse support in tty
|
services.gpm.enable = true; # Mouse support in tty
|
||||||
|
|
||||||
systemd.timers."copy-to-server" = {
|
|
||||||
wantedBy = [ "timers.target" ];
|
|
||||||
timerConfig = {
|
|
||||||
OnBootSec = "1m";
|
|
||||||
OnUnitActiveSec = "1m";
|
|
||||||
Unit = "copy-to-server.service";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
systemd.services."hello-world" = {
|
|
||||||
script = ''scp $HOME/media/Pictures/other/serverUpload/* max@192.168.1.118:/srv/www/htdocs/images'';
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "oneshot";
|
|
||||||
User = "root";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable dconf
|
# Enable dconf
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user