mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
remove note sync service
This commit is contained in:
parent
5c7385a1dc
commit
0d0a828296
5 changed files with 0 additions and 39 deletions
|
|
@ -26,8 +26,6 @@
|
|||
module.appdevel.enable = true;
|
||||
module.hobbies.enable = true;
|
||||
|
||||
service.note-sync.enable = true;
|
||||
|
||||
programs.noisetorch.enable = true;
|
||||
|
||||
virtualisation.vmware.host.enable = true;
|
||||
|
|
|
|||
|
|
@ -55,10 +55,6 @@
|
|||
kde.enable = lib.mkEnableOption "KDE with Plasma6";
|
||||
};
|
||||
|
||||
service = {
|
||||
note-sync.enable = lib.mkEnableOption "enable note sync to repo";
|
||||
};
|
||||
|
||||
ricing = {
|
||||
basic.enable = lib.mkEnableOption "enable basic ricing";
|
||||
wasteland.enable = lib.mkEnableOption "post-collapse themed rice";
|
||||
|
|
@ -118,10 +114,6 @@
|
|||
kde.enable = lib.mkDefault false;
|
||||
};
|
||||
|
||||
service = {
|
||||
note-sync.enable = lib.mkDefault false;
|
||||
};
|
||||
|
||||
ricing = {
|
||||
basic.enable = lib.mkDefault true;
|
||||
wasteland.enable = lib.mkDefault false;
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
imports = [
|
||||
];
|
||||
}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
imports = [
|
||||
];
|
||||
}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
config.systemd.services.note_sync = lib.mkIf config.service.note-sync.enable {
|
||||
enable = true;
|
||||
description = "Auto sync notes to remote";
|
||||
serviceConfig = {
|
||||
User = "crow";
|
||||
Type = "oneshot";
|
||||
};
|
||||
path = [
|
||||
"/run/current-system/sw"
|
||||
];
|
||||
startAt = [
|
||||
"*:0/5"
|
||||
];
|
||||
script = "cd /home/crow/Notes\ngit pull\ngit add .\ngit diff-index --quiet HEAD || git commit -am 'automatic backup'\ngit push";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue