Compare commits

...
7 Commits
Author SHA1 Message Date
kiskaadee 6163eb0396 feat(home): add systemd user timer for corazoncp-drive sync
- Add systemd.user.services.corazoncp-drive-sync running drive/sync-drive.sh with explicit PATH (rclone, git, openssh, libnotify, util-linux, findutils, coreutils)
- Add systemd.user.timers.corazoncp-drive-sync polling every 15m (Persistent=true) so syncs survive reboots and catch up after sleep
2026-11-26 21:41:53 -05:00
kiskaadee 2261e4b792 feat(hardware): enable epsonscan2 non-free plugins and sane-airscan
- Override pkgs.epsonscan2 with withNonFreePlugins = true in hardware.sane.extraBackends to provide closed-source network scanning transport for Epson EcoTank / L-series.
- Add pkgs.sane-airscan to enable standard eSCL and WSD driverless discovery in SANE frontends.
- Resolves network connection timeout and communication error loops over LAN/Wi-Fi.
2026-11-26 14:52:40 -05:00
kiskaadee 995bdaa973 feat(ssh): add phone host alias for Termux SFTP/SSH 2026-11-22 17:52:32 -05:00
kiskaadee e93d8a43cf feat(ssh): add tablet host alias for Termux SFTP/SSH 2026-11-22 16:09:06 -05:00
kiskaadee b4afb529a8 chore(flake): bump flake inputs and dependencies
- antigravity: update App to 2.34.0, IDE to 2.8.0, CLI to 1.5.14
- dms: update DankMaterialShell with cc v2300 paged layout, screenshot settings, and dux-qt-base 0.4.73
- dank-greeter / dankcalendar: sync animation tokens, icon theme tracking, and interval ladders
- home-manager: incorporate fontconfig collision fix, starship TTY suppression, and module updates
- nixpkgs: roll nixos-unstable channel forward (+6,315 commits)
- zen-browser: bump zen-beta to 1.24.3b and multiplex Sine mod queries
2026-11-22 13:52:33 -05:00
kiskaadee 4bc670e1e5 fix(ssh): specify operator user for server-local and server-remote 2026-11-19 13:48:42 -05:00
kiskaadee c1b44e049c fix(home-manager): allow overwriting stale SSH config backups
- Enable home-manager.overwriteBackup alongside backupFileExtension so activation no longer aborts on an occupied ~/.ssh/config.backup path.
- Document why this is needed: ~/.ssh/config is kept as a user-owned regular file by the de-symlink workaround, so Home Manager must back it up on every generation change.
2026-11-17 12:04:42 -05:00
5 changed files with 98 additions and 44 deletions

No files matched your search

Generated
+43 -43
View File
@@ -8,11 +8,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794640175, "lastModified": 1795331353,
"narHash": "sha256-8M1zCfd5/Lo4RG8U/d9vdF+LFUrOC9WG56olGTU/DNk=", "narHash": "sha256-llMfFaxJxf7aMf0NRuKFtmBpDh14q5qnpwiGy/DJsJc=",
"owner": "jacopone", "owner": "jacopone",
"repo": "antigravity-nix", "repo": "antigravity-nix",
"rev": "6d55867d1411beb4dcfb74b5e15bad3a5843ac8d", "rev": "c9f1bae6b80d90c92eed93694bdb5291242fe9a4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -30,11 +30,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794758150, "lastModified": 1795022150,
"narHash": "sha256-jJ0AeRPu8ePm1kW6SawsbRswJCBvSTWa1/w+njabciA=", "narHash": "sha256-EINAcQZPXnTzHJNGqFxTMFSv7eT0wxymdg10Pud131E=",
"owner": "AvengeMedia", "owner": "AvengeMedia",
"repo": "dank-greeter", "repo": "dank-greeter",
"rev": "bca3cb6524f1a030803b8c795de9587273b8c0db", "rev": "3e4affaf85f91fd98fdb83a27651d2597963e8ae",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -46,11 +46,11 @@
"dank-qml-common": { "dank-qml-common": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1794676174, "lastModified": 1795021255,
"narHash": "sha256-yQe0Ac4HcatProEJWLKEnbVdhv6F05hD5gzkyZew6o0=", "narHash": "sha256-fDhHTvIkU+oDuIvdOhG5RyNZSYuxwM3xscLLdxmLVY4=",
"owner": "duxlabs-dev", "owner": "duxlabs-dev",
"repo": "dux-qml-common", "repo": "dux-qml-common",
"rev": "de654475cc559fa976a8c205ff373d1882898d67", "rev": "e7c185915fe2555c6e6681711054e6b79f546806",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -62,11 +62,11 @@
"dank-qml-common_2": { "dank-qml-common_2": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1794767193, "lastModified": 1795139913,
"narHash": "sha256-LImOQVxFYn+U/Ku2WtC2pEMHOY0/hQ+Ll+litdE0ea0=", "narHash": "sha256-RYLCGIA8CuAIsmWUA1y8Ml+5bs8yIFNDQqOjeOlBr6A=",
"owner": "duxlabs-dev", "owner": "duxlabs-dev",
"repo": "dux-qml-common", "repo": "dux-qml-common",
"rev": "1c9bb8d3e3dd8136d4914962d9935c115b0c922a", "rev": "e268d71117173d0934dbe773d3e2ed6efe11afda",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -78,11 +78,11 @@
"dank-qml-common_3": { "dank-qml-common_3": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1794801445, "lastModified": 1795211080,
"narHash": "sha256-hlG7rWIoy7kuvUJaTkpRpXAgLr3tZCZ1L8IM6fPm0yk=", "narHash": "sha256-PV5cT7st/9ioV5aHeNP0go7wFfHlKfBYVVRCQ8JkHXg=",
"owner": "duxlabs-dev", "owner": "duxlabs-dev",
"repo": "dux-qml-common", "repo": "dux-qml-common",
"rev": "da2ae4884c1b1abe26c283cc2923422ea627d052", "rev": "12f5e4457e0ca14b6a5f9a283ab581ce28c92855",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -100,11 +100,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794767254, "lastModified": 1795331423,
"narHash": "sha256-GCh0b3FVq/BlkF0B1THZm2dpmqtT5tpnD0jGSrubEoo=", "narHash": "sha256-kwm++EAyRfrgQAJVLR9LeSGiWbk7ehB64mJG17a4/hY=",
"owner": "AvengeMedia", "owner": "AvengeMedia",
"repo": "dankcalendar", "repo": "dankcalendar",
"rev": "e17333c58fedb05b4a43c5b956af5575fee0d91a", "rev": "62ee9f656831be30dd3b58384758199a8e904637",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -163,11 +163,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794801497, "lastModified": 1795342511,
"narHash": "sha256-EM0hn+QKbJHVk2bQg93Y0wjM05ZqWW/07H8fFQ/2DxA=", "narHash": "sha256-9cQ6VogdRRaf40wMBUip/EoufpSLnjNmosrijaYZwus=",
"owner": "AvengeMedia", "owner": "AvengeMedia",
"repo": "DankMaterialShell", "repo": "DankMaterialShell",
"rev": "72bbc14a9cbf806d9acb54e9954689b5b4900758", "rev": "a265f0a1af5dcc78ae691487d94710cca82da62d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -184,11 +184,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794757712, "lastModified": 1794899417,
"narHash": "sha256-b8vGujulk9JGQUxoBz0AmJgZEhHWNkIgxvKI80cXuoI=", "narHash": "sha256-E5xQiepbIMlywIAFHGt3c4uBGUysNfdmL/mscCspXrs=",
"owner": "duxlabs-dev", "owner": "duxlabs-dev",
"repo": "dux-qt-base", "repo": "dux-qt-base",
"rev": "221c014601a5ce063d60d6e21dfebf7a08097417", "rev": "8a8c69406e75a797cf400ce151cc735ea2a02af1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -205,11 +205,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794758509, "lastModified": 1795139910,
"narHash": "sha256-hHVdy8l5y2l7XPm/dBn/Wvhp8OjguBpw8J1f00MhjyU=", "narHash": "sha256-JxBwcoR86CfjT92/xQSbbaHn1OxddwtH/iF+u4fUvRw=",
"owner": "duxlabs-dev", "owner": "duxlabs-dev",
"repo": "dux-qt-base", "repo": "dux-qt-base",
"rev": "eddabb178a910f169f751d68d17957ac13bbc00b", "rev": "75d4524dc5e678ca4b64a1f862dd7509ca6852b1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -226,11 +226,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794757712, "lastModified": 1795337492,
"narHash": "sha256-b8vGujulk9JGQUxoBz0AmJgZEhHWNkIgxvKI80cXuoI=", "narHash": "sha256-xGJDFNGgtXujSneISCrN2TxKx2IkTMeFBgTmJIISGfs=",
"owner": "duxlabs-dev", "owner": "duxlabs-dev",
"repo": "dux-qt-base", "repo": "dux-qt-base",
"rev": "221c014601a5ce063d60d6e21dfebf7a08097417", "rev": "0ea003e30fc92c51943ab7660b58d883708e25c2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -280,11 +280,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794715309, "lastModified": 1795340038,
"narHash": "sha256-awkBBs5ctFKgEYjpNGpi3t/VqF589n5EWfdinRb2gNI=", "narHash": "sha256-RtgZbV+4BDtJqMImbiPJri3fmVDbCbrz/B0cuPQUJQY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a1293da7dd8e497e08d26173f97e2976b36a31ea", "rev": "03885bcd0b477bdecebebc57b213b0f8f0826d51",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -301,11 +301,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1793193205, "lastModified": 1794715309,
"narHash": "sha256-X6xa6sGA7RnJQuZGbFMC+K+KToWAlBDCCjJXfTwEPsw=", "narHash": "sha256-awkBBs5ctFKgEYjpNGpi3t/VqF589n5EWfdinRb2gNI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "095fef2f265c3c0da4fe315efba8f8a04495ab34", "rev": "a1293da7dd8e497e08d26173f97e2976b36a31ea",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -332,11 +332,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1794537146, "lastModified": 1795234589,
"narHash": "sha256-bTKSclXJAmo9qdxPedTBHUGr8awPr4BrbOoOutJsYIc=", "narHash": "sha256-pAEASBc6wof0S58XcSEdZoQ2iFQDkCnZwH+wFLrkd1Q=",
"rev": "d5cc6833999746cffdfe0598f7bc801a57b887a9", "rev": "2786a2a72088ecf32aea5b3ec52099e6a7cff78f",
"type": "tarball", "type": "tarball",
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1119549.d5cc68339997/nixexprs.tar.zst" "url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1125864.2786a2a72088/nixexprs.tar.zst"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@@ -380,11 +380,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794805570, "lastModified": 1795333741,
"narHash": "sha256-sG0P1rHWgbPQIeR+peNmapCWQKf0nauyDl500JhX9Qo=", "narHash": "sha256-xJaT+L8DeMR0TJjAOlrjGqaRG2AjZrjivQfCtiLRtlY=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "cb44a9fc1faa18c55dde38a8338f6d46fa2bc6de", "rev": "81376950ac382a96b965f9d6f8bf60354ad99c2f",
"type": "github" "type": "github"
}, },
"original": { "original": {
+3
View File
@@ -148,6 +148,9 @@
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup"; home-manager.backupFileExtension = "backup";
# ~/.ssh/config is kept as a user-owned regular file (see the
# de-symlink workaround), so HM hits an occupied .backup path.
home-manager.overwriteBackup = true;
home-manager.extraSpecialArgs = { inherit inputs; }; home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.kiskaadee = { home-manager.users.kiskaadee = {
imports = [ imports = [
+30
View File
@@ -227,4 +227,34 @@ in
sops # Mozilla SOPS CLI sops # Mozilla SOPS CLI
age # File encryption tool age # File encryption tool
]; ];
# Background two-way sync for corazoncp shared Google Drive repository
systemd.user.services.corazoncp-drive-sync = {
Unit = {
Description = "Two-way sync between corazoncp/drive and Google Drive";
After = [ "network-online.target" "graphical-session.target" ];
Wants = [ "network-online.target" ];
};
Service = {
Type = "oneshot";
ExecStart = "${pkgs.bash}/bin/bash /home/kiskaadee/Projects/active/corazoncp/drive/sync-drive.sh";
Environment = [
"PATH=${pkgs.lib.makeBinPath [ pkgs.rclone pkgs.git pkgs.openssh pkgs.libnotify pkgs.util-linux pkgs.findutils pkgs.coreutils ]}"
];
};
};
systemd.user.timers.corazoncp-drive-sync = {
Unit = {
Description = "Poll corazoncp shared Google Drive every 15 minutes";
};
Timer = {
OnBootSec = "2m";
OnUnitActiveSec = "15m";
Persistent = true;
};
Install = {
WantedBy = [ "timers.target" ];
};
};
} }
+16
View File
@@ -167,10 +167,12 @@ in
Port = 22; Port = 22;
}; };
server-local = { server-local = {
User = "operator";
HostName = "192.168.1.36"; HostName = "192.168.1.36";
Port = 22; Port = 22;
}; };
server-remote = { server-remote = {
User = "operator";
HostName = "roadtotech.me"; HostName = "roadtotech.me";
Port = 2222; Port = 2222;
}; };
@@ -187,6 +189,20 @@ in
HostKeyAlgorithms = "+ssh-rsa"; HostKeyAlgorithms = "+ssh-rsa";
PubkeyAcceptedAlgorithms = "+ssh-rsa"; PubkeyAcceptedAlgorithms = "+ssh-rsa";
}; };
phone = {
HostName = "192.168.1.46";
User = "u0_a56";
Port = 8022;
IdentityFile = "~/.ssh/id_ed25519";
IdentitiesOnly = true;
};
tablet = {
HostName = "192.168.1.5";
User = "u0_a259";
Port = 8022;
IdentityFile = "~/.ssh/id_ed25519";
IdentitiesOnly = true;
};
}; };
}; };
+6 -1
View File
@@ -45,7 +45,12 @@
hardware.sane = { hardware.sane = {
enable = true; enable = true;
extraBackends = [ pkgs.epsonscan2 ]; extraBackends = [
(pkgs.epsonscan2.override {
withNonFreePlugins = true;
})
pkgs.sane-airscan
];
}; };
# 🐳 Virtualisation / Docker container daemon # 🐳 Virtualisation / Docker container daemon